Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-09 18:14:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-09 18:14:31 +0400
commita930fb154f47a7473848254ad0b0b83c9edd1850 (patch)
treeebb0d1a52d1e7cc0829737381db42de0054b0b41
parentab6f60aad2b030df476a55e6c227f78e8a1b9ce8 (diff)
Fix T37751: Crash subdividing bones
-rw-r--r--source/blender/editors/armature/armature_add.c4
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 */