diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-11-17 14:44:04 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-11-17 14:44:04 +0300 |
commit | 26088d766e55bd4b18be812d60aa20f5316f8ab8 (patch) | |
tree | 2cfced4e0392e3fbbdd5a78fefe59a3f244ec45a /rigify/rigs/spines/super_head.py | |
parent | 1bab44a79366a65f31b5047399744ea3b43871fc (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/spines/super_head.py')
-rw-r--r-- | rigify/rigs/spines/super_head.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rigify/rigs/spines/super_head.py b/rigify/rigs/spines/super_head.py index eb19c304..f35e122c 100644 --- a/rigify/rigs/spines/super_head.py +++ b/rigify/rigs/spines/super_head.py @@ -211,8 +211,7 @@ class Rig(BaseHeadTailRig): self.rig_mch_stretch_bone(self.bones.mch.stretch, self.bones.ctrl.head) def rig_mch_stretch_bone(self, mch, head): - self.make_constraint(mch, 'DAMPED_TRACK', head) - self.make_constraint(mch, 'STRETCH_TO', head) + self.make_constraint(mch, 'STRETCH_TO', head, keep_axis='SWING_Y') #################################################### # MCH IK chain for the long neck |