* rename 'rna_path' --> 'data_path', rna and dna are for internal use and are not descriptive.

* armature.pose_position: POSE_POSITION, REST_POSITION --> POSE, REST
* rigify now forces rest pose mode
* updated neck_flex to keep original bones unchanged
This commit is contained in:
2009-12-10 22:23:09 +00:00
parent 2a785e8fae
commit 97abf6ad96
15 changed files with 89 additions and 60 deletions

View File

@@ -201,14 +201,14 @@ def main(obj, bone_definition, base_names):
tar.name = "scale"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + '.scale[1]'
tar.data_path = controller_path + '.scale[1]'
# bend target
tar = driver.targets.new()
tar.name = "br"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + '["bend_ratio"]'
tar.data_path = controller_path + '["bend_ratio"]'
# XXX - todo, any number
if i == 0: