diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-20 07:05:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-20 07:05:19 +0400 |
commit | 791aa327e1c7d19d0814ab10cc294013b8193aee (patch) | |
tree | d5b54e68cca63f727a384729001c3e0c726d2f2c /source/blender/editors/armature | |
parent | 33b8d53224071f1b491b18cec77461797e28ce71 (diff) |
bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |