diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 18:14:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 18:14:31 +0400 |
commit | a930fb154f47a7473848254ad0b0b83c9edd1850 (patch) | |
tree | ebb0d1a52d1e7cc0829737381db42de0054b0b41 | |
parent | ab6f60aad2b030df476a55e6c227f78e8a1b9ce8 (diff) |
Fix T37751: Crash subdividing bones
-rw-r--r-- | source/blender/editors/armature/armature_add.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c index b3eef3dd5dd..ed8ae2d4cbb 100644 --- a/source/blender/editors/armature/armature_add.c +++ b/source/blender/editors/armature/armature_add.c @@ -793,7 +793,9 @@ static int armature_subdivide_exec(bContext *C, wmOperator *op) ebone->rad_tail = newbone->rad_head; newbone->flag |= BONE_CONNECTED; - + + newbone->prop = NULL; + unique_editbone_name(arm->edbo, newbone->name, NULL); /* correct parent bones */ |