diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-31 17:30:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-31 17:30:21 +0300 |
commit | 22d8742f0dab025f2789e28e337277f761d4e189 (patch) | |
tree | fc131823c381837e2b18def9eb70d348dae00eed /release/scripts/modules/rigify/palm_curl.py | |
parent | fffaa0e18ae68904dad93f8cecfad8350aa229d8 (diff) |
white space commit, so the actual changes in the next commiy wont be so hard to find
Diffstat (limited to 'release/scripts/modules/rigify/palm_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/palm_curl.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/rigify/palm_curl.py b/release/scripts/modules/rigify/palm_curl.py index 82010552ea7..b0a1348c938 100644 --- a/release/scripts/modules/rigify/palm_curl.py +++ b/release/scripts/modules/rigify/palm_curl.py @@ -104,16 +104,16 @@ def deform(obj, definitions, base_names, options): # Create deform bone. bone = copy_bone_simple(obj.data, org_bone_name, "DEF-%s" % base_names[org_bone_name], parent=True) - + # Store name before leaving edit mode bone_name = bone.name - + # Leave edit mode bpy.ops.object.mode_set(mode='OBJECT') - + # Get the pose bone bone = obj.pose.bones[bone_name] - + # Constrain to the original bone # XXX. Todo, is this needed if the bone is connected to its parent? con = bone.constraints.new('COPY_TRANSFORMS') @@ -141,7 +141,7 @@ def main(obj, bone_definition, base_names, options): offset = (pinky_ebone.head - ring_ebone.head) control_ebone.translate(offset) - + deform(obj, bone_definition, base_names, options) bpy.ops.object.mode_set(mode='OBJECT') |