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:
Diffstat (limited to 'rigify/rigs/spine.py')
-rw-r--r--rigify/rigs/spine.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/rigify/rigs/spine.py b/rigify/rigs/spine.py
index a6bbc747..86d9ba6c 100644
--- a/rigify/rigs/spine.py
+++ b/rigify/rigs/spine.py
@@ -210,8 +210,6 @@ class Rig:
# Main control doesn't use local location
pb[main_control].bone.use_local_location = False
-
-
# Intermediate controls follow hips and spine
for name, par_name, i in zip(controls[1:-1], control_parents, self.control_indices[1:-1]):
bone = pb[par_name]
@@ -296,7 +294,7 @@ class Rig:
# Position
put_bone(self.obj, sub, bone_e.head)
- sub_e.length /= 4
+ sub_e.length = bone_e.length / 4
if prev_bone is not None:
sub_e.use_connect = True