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/spines/super_head.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/spines/super_head.py')
-rw-r--r--rigify/rigs/spines/super_head.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/rigify/rigs/spines/super_head.py b/rigify/rigs/spines/super_head.py
index de25113a..422f3ad0 100644
--- a/rigify/rigs/spines/super_head.py
+++ b/rigify/rigs/spines/super_head.py
@@ -144,7 +144,6 @@ class Rig(BaseHeadTailRig):
self.obj, ctrl,
radius=radius,
head_tail=0.5,
- bone_transform_name=None
)
def make_neck_bend_widget(self, ctrl):
@@ -154,7 +153,6 @@ class Rig(BaseHeadTailRig):
self.obj, ctrl,
radius=radius/2,
head_tail=0.0,
- bone_transform_name=None
)
def make_head_widget(self, ctrl):
@@ -169,7 +167,6 @@ class Rig(BaseHeadTailRig):
radius = 0.5,
head_tail = head_tail,
with_line = False,
- bone_transform_name = None
)
####################################################