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:
authorAlexander Gavrilov <angavrilov@gmail.com>2022-02-11 23:36:26 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2022-02-11 23:40:25 +0300
commitc268b58c2472f3a2c708f23253af83c3b3c2df55 (patch)
tree0a4e32819e37fa12c3405e4d676f69f62b5b2369 /rigify/rigs/limbs/super_finger.py
parent7120e9c9e08720c20833a334fee197ed9a11dc64 (diff)
Rigify: make world orientation the default for IK control location.
For backward compatibility the option technically defaults to old behavior, but all metarigs are changed to the new mode.
Diffstat (limited to 'rigify/rigs/limbs/super_finger.py')
-rw-r--r--rigify/rigs/limbs/super_finger.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rigify/rigs/limbs/super_finger.py b/rigify/rigs/limbs/super_finger.py
index 2229c0c0..a1f49920 100644
--- a/rigify/rigs/limbs/super_finger.py
+++ b/rigify/rigs/limbs/super_finger.py
@@ -638,6 +638,10 @@ def create_sample(obj):
pbone.rigify_parameters.tweak_extra_layers = False
except AttributeError:
pass
+ try:
+ pbone.rigify_parameters.ik_local_location = False
+ except AttributeError:
+ pass
pbone = obj.pose.bones[bones['f_pinky.02.L']]
pbone.rigify_type = ''
pbone.lock_location = (False, False, False)