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>2019-09-29 16:42:54 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-09-29 17:48:59 +0300
commit8c0353518e1dfef4046f1be1f8b2df6e9b3fd0af (patch)
tree28186dee2b417f3b69382b9c9eae2a3a6ff994b6 /rigify/rigs/limbs/limb_rigs.py
parent704ace1b48181180b70a5b4ed0039420c4acb4db (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/limb_rigs.py')
-rw-r--r--rigify/rigs/limbs/limb_rigs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/limbs/limb_rigs.py b/rigify/rigs/limbs/limb_rigs.py
index 4799e87d..30d475bb 100644
--- a/rigify/rigs/limbs/limb_rigs.py
+++ b/rigify/rigs/limbs/limb_rigs.py
@@ -407,10 +407,10 @@ class BaseLimbRig(BaseRig):
else:
roll = pi/2
- create_ikarrow_widget(self.obj, ctrl, bone_transform_name=None, roll=roll)
+ create_ikarrow_widget(self.obj, ctrl, roll=roll)
def make_ik_pole_widget(self, ctrl):
- create_sphere_widget(self.obj, ctrl, bone_transform_name=None)
+ create_sphere_widget(self.obj, ctrl)
def make_ik_ctrl_widget(self, ctrl):
raise NotImplementedError()