Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-12-10 17:32:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-10 17:32:37 +0300
commit5c5ec6f0a724c5bbc4179f08a53d4dc70e8fdbed (patch)
tree3da9127049aaa3f6c8a0baf6e508ad77b5c45ac8 /release/scripts/modules/rigify/palm_curl.py
parentaaa181818ec61979d21f2a1ff579b031b62ebbf9 (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.py6
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