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>2020-11-17 14:44:04 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2020-11-17 14:44:04 +0300
commit26088d766e55bd4b18be812d60aa20f5316f8ab8 (patch)
tree2cfced4e0392e3fbbdd5a78fefe59a3f244ec45a /rigify/rigs/limbs/super_finger.py
parent1bab44a79366a65f31b5047399744ea3b43871fc (diff)
Rigify: replace the Damped Track + Stretch To idiom with the Swing mode.
It has been long enough since 2.82 when Swing was added to use this.
Diffstat (limited to 'rigify/rigs/limbs/super_finger.py')
-rw-r--r--rigify/rigs/limbs/super_finger.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rigify/rigs/limbs/super_finger.py b/rigify/rigs/limbs/super_finger.py
index ccb9ba22..02f9bff8 100644
--- a/rigify/rigs/limbs/super_finger.py
+++ b/rigify/rigs/limbs/super_finger.py
@@ -295,8 +295,7 @@ class Rig(SimpleChainRig):
self.make_constraint(mch, 'COPY_LOCATION', ctrl)
self.make_constraint(mch, 'COPY_SCALE', ctrl)
- self.make_constraint(mch, 'DAMPED_TRACK', ctrl_next)
- self.make_constraint(mch, 'STRETCH_TO', ctrl_next, volume='NO_VOLUME')
+ self.make_constraint(mch, 'STRETCH_TO', ctrl_next, volume='NO_VOLUME', keep_axis='SWING_Y')
##############################
# ORG chain