diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-10 17:32:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-10 17:32:37 +0300 |
commit | 5c5ec6f0a724c5bbc4179f08a53d4dc70e8fdbed (patch) | |
tree | 3da9127049aaa3f6c8a0baf6e508ad77b5c45ac8 /release/scripts/modules/rigify/palm_curl.py | |
parent | aaa181818ec61979d21f2a1ff579b031b62ebbf9 (diff) |
fix for some errors and local root bone override
Diffstat (limited to 'release/scripts/modules/rigify/palm_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/palm_curl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/rigify/palm_curl.py b/release/scripts/modules/rigify/palm_curl.py index 78a3d1fb73f..cc40503703c 100644 --- a/release/scripts/modules/rigify/palm_curl.py +++ b/release/scripts/modules/rigify/palm_curl.py @@ -118,9 +118,9 @@ def main(obj, bone_definition, base_names): bpy.ops.object.mode_set(mode='OBJECT') - - arm, control_pbone, control_ebone = get_bone_data(obj, control_name) - arm, pinky_pbone, pinky_ebone = get_bone_data(obj, children[0]) + arm = obj.data + control_pbone = obj.pose.bones[control_name] + pinky_pbone = obj.pose.bones[children[0]] control_pbone.rotation_mode = 'YZX' control_pbone.lock_rotation = False, True, True |