diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-29 12:10:01 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-29 17:48:59 +0300 |
commit | 704ace1b48181180b70a5b4ed0039420c4acb4db (patch) | |
tree | 134f9f39da2b1df29ab4f691ef8fb16df7ef9157 /rigify/rigs/limbs/limb_rigs.py | |
parent | 6bb8ab3ad7b8131ffa9ed3261b6da8627903f3b1 (diff) |
Rigify: implement priorities to add toes to the FK bone group.
Toes behave as FK, but are needed both in IK and FK mode.
Diffstat (limited to 'rigify/rigs/limbs/limb_rigs.py')
-rw-r--r-- | rigify/rigs/limbs/limb_rigs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rigify/rigs/limbs/limb_rigs.py b/rigify/rigs/limbs/limb_rigs.py index 0b6c0425..4799e87d 100644 --- a/rigify/rigs/limbs/limb_rigs.py +++ b/rigify/rigs/limbs/limb_rigs.py @@ -268,7 +268,8 @@ class BaseLimbRig(BaseRig): for args in zip(count(0), self.bones.ctrl.fk, self.bones.org.main): self.configure_fk_control_bone(*args) - ControlLayersOption.FK.assign(self.params, self.obj, self.bones.ctrl.fk[0:3]) + ControlLayersOption.FK.assign_rig(self, self.bones.ctrl.fk[0:3]) + ControlLayersOption.FK.assign_rig(self, self.bones.ctrl.fk[3:], combine=True, priority=1) def configure_fk_control_bone(self, i, ctrl, org): self.copy_bone_properties(org, ctrl) @@ -624,7 +625,7 @@ class BaseLimbRig(BaseRig): for args in zip(count(0), self.bones.ctrl.tweak, self.segment_table_tweak): self.configure_tweak_bone(*args) - ControlLayersOption.TWEAK.assign(self.params, self.obj, self.bones.ctrl.tweak) + ControlLayersOption.TWEAK.assign_rig(self, self.bones.ctrl.tweak) def configure_tweak_bone(self, i, tweak, entry): tweak_pb = self.get_bone(tweak) |