diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-03 23:12:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-03 23:12:11 +0400 |
commit | 20fd05abc1e47ac51552c30a765e02ff529d2dc0 (patch) | |
tree | 9c84b2fb3a0a2820d5c350ef41b566ccae19fd17 /release/scripts/modules/rigify/palm_curl.py | |
parent | 6cb02a167210a625eecca5d9964addf00e5f542a (diff) |
manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)
Diffstat (limited to 'release/scripts/modules/rigify/palm_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/palm_curl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rigify/palm_curl.py b/release/scripts/modules/rigify/palm_curl.py index ed656cf2243..2bdd28a348a 100644 --- a/release/scripts/modules/rigify/palm_curl.py +++ b/release/scripts/modules/rigify/palm_curl.py @@ -254,7 +254,7 @@ def main(obj, bone_definition, base_names, options): child_pbone_02 = obj.pose.bones[children[1]].bone rel_vec = child_pbone_01.head - child_pbone_02.head - x_vec = child_pbone_01.matrix.rotation_part() * Vector(1.0, 0.0, 0.0) + x_vec = child_pbone_01.matrix.rotation_part() * Vector((1.0, 0.0, 0.0)) return degrees(rel_vec.angle(x_vec)) > 90.0 |