From 791aa327e1c7d19d0814ab10cc294013b8193aee Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 20 Apr 2011 03:05:19 +0000 Subject: bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled. --- source/blender/editors/armature/editarmature.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index b81b6a79c32..adfc9ee8113 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -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; } -- cgit v1.2.3