diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-06 11:49:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-06 11:49:10 +0400 |
commit | bad41fcff50f599dd1e9a6595a365d6d796df584 (patch) | |
tree | db14f80dcfa3c5c137c2fdd27896227d0c4d42a9 /release/scripts/modules/rigify/finger_curl.py | |
parent | 5304a65b50103c405cc5130a479a36833ec7f9bd (diff) |
- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().
Diffstat (limited to 'release/scripts/modules/rigify/finger_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/finger_curl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/rigify/finger_curl.py b/release/scripts/modules/rigify/finger_curl.py index fcf57f81d3e..1f4d3e985f3 100644 --- a/release/scripts/modules/rigify/finger_curl.py +++ b/release/scripts/modules/rigify/finger_curl.py @@ -280,7 +280,7 @@ def main(obj, bone_definition, base_names, options): con.target = obj con.subtarget = bb[org_f1].parent.name - hinge_driver_path = pb[control].path_to_id() + '["hinge"]' + hinge_driver_path = pb[control].path_from_id() + '["hinge"]' fcurve = con.driver_add("influence", 0) driver = fcurve.driver @@ -301,7 +301,7 @@ def main(obj, bone_definition, base_names, options): con.subtarget = socket # Create the drivers for the driver bones (control bone scale rotates driver bones) - controller_path = pb[control].path_to_id() # 'pose.bones["%s"]' % control_bone_name + controller_path = pb[control].path_from_id() # 'pose.bones["%s"]' % control_bone_name i = 0 for bone in [df2, df3]: |