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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Vegdahl <cessen@cessen.com>2011-05-15 03:37:05 +0400
committerNathan Vegdahl <cessen@cessen.com>2011-05-15 03:37:05 +0400
commit34b236a361394aaa1f21c3043066b995c759f774 (patch)
tree467e849b1e18704b04b1f40d5a8e9fa3f1f6d703 /rigify/metarigs
parent38f2b4d12c061b4dd8c9f9fd7ace555546e57ea9 (diff)
Rigify: added a 'copy_chain' rig type.
This is useful for bone chains that need their parent-child relationships preserved exactly. For example, bbone chains, and chains that users want to use auto-ik on. Also moved the 'copy' rig type to the basic collection. This will break some existing metarigs, but it is very easy to fix. Just change the 'copy' rig type on bones that use it to 'basic.copy'.
Diffstat (limited to 'rigify/metarigs')
-rw-r--r--rigify/metarigs/human.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/metarigs/human.py b/rigify/metarigs/human.py
index 9a67504a..10e09316 100644
--- a/rigify/metarigs/human.py
+++ b/rigify/metarigs/human.py
@@ -551,7 +551,7 @@ def create(obj):
pbone.rotation_mode = 'QUATERNION'
pbone.bone.layers = [False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False]
pbone = obj.pose.bones[bones['shoulder.L']]
- pbone.rigify_type = 'copy'
+ pbone.rigify_type = 'basic.copy'
pbone.lock_location = (True, True, True)
pbone.lock_rotation = (False, True, False)
pbone.lock_rotation_w = False
@@ -559,7 +559,7 @@ def create(obj):
pbone.rotation_mode = 'YXZ'
pbone.bone.layers = [True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False]
pbone = obj.pose.bones[bones['shoulder.R']]
- pbone.rigify_type = 'copy'
+ pbone.rigify_type = 'basic.copy'
pbone.lock_location = (True, True, True)
pbone.lock_rotation = (False, True, False)
pbone.lock_rotation_w = False