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-10-25 16:22:16 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-10-25 16:25:16 +0300
commit91fc865d8df563d82a4c31bbe44aa4bb9b1d0eee (patch)
treefcaa8672bd890b2cea72aee41c5a4a917f0c5c03 /rigify/utils/rig.py
parent2d023ea49fc7cffb22d49c7dc796800dc9bf6d17 (diff)
Rigify: assign a more reasonable B-Bone display size in metarigs too.
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