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/basic_spine.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/basic_spine.py')
-rw-r--r--rigify/rigs/spines/basic_spine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/spines/basic_spine.py b/rigify/rigs/spines/basic_spine.py
index d90e4c8d..269889cf 100644
--- a/rigify/rigs/spines/basic_spine.py
+++ b/rigify/rigs/spines/basic_spine.py
@@ -125,9 +125,9 @@ class Rig(BaseSpineRig):
create_circle_widget(
self.obj, ctrl,
radius=1.0,
- head_tail=0.75,
+ head_tail=0.0,
+ head_tail_x=1.0,
with_line=False,
- bone_transform_name=wgt_mch
)
####################################################