diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-29 16:42:54 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-29 17:48:59 +0300 |
commit | 8c0353518e1dfef4046f1be1f8b2df6e9b3fd0af (patch) | |
tree | 28186dee2b417f3b69382b9c9eae2a3a6ff994b6 /rigify/rigs/limbs/leg.py | |
parent | 704ace1b48181180b70a5b4ed0039420c4acb4db (diff) |
Rigify: implement a deformed circle widget for main spine controls.
The idea is inspired by similar shapes in other rigs like BlenRig.
The actual used shape is simply a circle deformed into a parabolic
shape when viewed from the side, added to create_circle_widget.
Using the new shape for the main controls allows adding extra FK
controls to the spine without visual confusion.
As an aside, fix a minor issue in handling bone_transform_name,
and remove redundant bone_transform_name=None parameters.
Diffstat (limited to 'rigify/rigs/limbs/leg.py')
-rw-r--r-- | rigify/rigs/limbs/leg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/limbs/leg.py b/rigify/rigs/limbs/leg.py index 098d303a..dbdd20cb 100644 --- a/rigify/rigs/limbs/leg.py +++ b/rigify/rigs/limbs/leg.py @@ -127,7 +127,7 @@ class Rig(BaseLimbRig): pbuilder.register_parent(self, self.bones.org.main[2], exclude_self=True) def make_ik_ctrl_widget(self, ctrl): - create_foot_widget(self.obj, ctrl, bone_transform_name=None) + create_foot_widget(self.obj, ctrl) #################################################### @@ -159,7 +159,7 @@ class Rig(BaseLimbRig): @stage.generate_widgets def generate_heel_control_widget(self): - create_ballsocket_widget(self.obj, self.bones.ctrl.heel, bone_transform_name=None) + create_ballsocket_widget(self.obj, self.bones.ctrl.heel) #################################################### |