Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-20 07:05:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-20 07:05:19 +0400
commit791aa327e1c7d19d0814ab10cc294013b8193aee (patch)
treed5b54e68cca63f727a384729001c3e0c726d2f2c /source
parent33b8d53224071f1b491b18cec77461797e28ce71 (diff)
bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/armature/editarmature.c4
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;
}