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/utils/rig.py')
-rw-r--r--rigify/utils/rig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rigify/utils/rig.py b/rigify/utils/rig.py
index 8c646ab5..0c07cfe6 100644
--- a/rigify/utils/rig.py
+++ b/rigify/utils/rig.py
@@ -283,6 +283,7 @@ def write_metarig(obj, layers=False, func_name="create", groups=False):
code.append(" bone.select = True")
code.append(" bone.select_head = True")
code.append(" bone.select_tail = True")
+ code.append(" bone.bbone_x = bone.bbone_z = bone.length * 0.05")
code.append(" arm.edit_bones.active = bone")
# Set appropriate layers visible