bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.

This commit is contained in:
Campbell Barton 2011-04-20 03:05:19 +00:00
parent 33b8d53224
commit 791aa327e1

@ -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;
}