* 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

@@ -145,7 +145,7 @@ def main(obj, bone_definition, base_names):
tar.name = "x"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + ".rotation_euler[0]"
tar.data_path = controller_path + ".rotation_euler[0]"
# *****
@@ -156,7 +156,7 @@ def main(obj, bone_definition, base_names):
tar.name = "x"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + ".rotation_euler[0]"
tar.data_path = controller_path + ".rotation_euler[0]"
# *****
@@ -166,13 +166,13 @@ def main(obj, bone_definition, base_names):
tar.name = "x"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + ".rotation_euler[0]"
tar.data_path = controller_path + ".rotation_euler[0]"
tar = driver.targets.new()
tar.name = "s"
tar.id_type = 'OBJECT'
tar.id = obj
tar.rna_path = controller_path + '["spread"]'
tar.data_path = controller_path + '["spread"]'
for i, child_name in enumerate(children):