diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 18:02:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 18:02:20 +0400 |
commit | 11eb238b821d3eef15f2dc9a3e1518948fe3ff79 (patch) | |
tree | 0151a82a6b098f8600613375299a47c5e22827a8 | |
parent | ab19545aeb1ed769727f321dcdabe5950cc4d7bb (diff) |
Armature Editmode: blend the bone radius when subdividing
-rw-r--r-- | source/blender/editors/armature/armature_add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c index b91deab6c8d..b3eef3dd5dd 100644 --- a/source/blender/editors/armature/armature_add.c +++ b/source/blender/editors/armature/armature_add.c @@ -789,7 +789,7 @@ static int armature_subdivide_exec(bContext *C, wmOperator *op) copy_v3_v3(newbone->tail, ebone->tail); copy_v3_v3(ebone->tail, newbone->head); - newbone->rad_head = 0.5f * (ebone->rad_head + ebone->rad_tail); + newbone->rad_head = ((ebone->rad_head * cutratio) + (ebone->rad_tail * cutratioI)); ebone->rad_tail = newbone->rad_head; newbone->flag |= BONE_CONNECTED; |