bugfix where separating the armature would also separate the active-unselected bone...
[blender-staging.git] / source / blender / editors / armature / editarmature.c
index b81b6a79c32c561c7b9041edc0879067bdb6f000..adfc9ee8113c5a01e1755af2994c6c591c7b6cd7 100644 (file)
@@ -416,7 +416,9 @@ void ED_armature_from_edit(Object *obedit)
                newBone->flag= eBone->flag;
                
                if (eBone == arm->act_edbone) {
-                       newBone->flag |= BONE_SELECTED; /* important, editbones can be active with only 1 point selected */
+                       /* don't change active selection, this messes up separate which uses
+                        * editmode toggle and can separate active bone which is de-selected originally */
+                       /* newBone->flag |= BONE_SELECTED; */ /* important, editbones can be active with only 1 point selected */
                        arm->act_edbone= NULL;
                        arm->act_bone= newBone;
                }