Commit: a930fb154f47a7473848254ad0b0b83c9edd1850
Author: Campbell Barton
Date:   Tue Dec 10 01:14:31 2013 +1100
http://developer.blender.org/rBa930fb154f47a7473848254ad0b0b83c9edd1850

Fix T37751: Crash subdividing bones

===================================================================

M       source/blender/editors/armature/armature_add.c

===================================================================

diff --git a/source/blender/editors/armature/armature_add.c 
b/source/blender/editors/armature/armature_add.c
index b3eef3d..ed8ae2d 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 */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to