[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36232] trunk/blender/source/blender/ editors/armature/editarmature.c: bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled .
Campbell Barton
ideasman42 at gmail.com
Wed Apr 20 05:05:20 CEST 2011
Revision: 36232
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36232
Author: campbellbarton
Date: 2011-04-20 03:05:19 +0000 (Wed, 20 Apr 2011)
Log Message:
-----------
bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.
Modified Paths:
--------------
trunk/blender/source/blender/editors/armature/editarmature.c
Modified: trunk/blender/source/blender/editors/armature/editarmature.c
===================================================================
--- trunk/blender/source/blender/editors/armature/editarmature.c 2011-04-20 02:56:51 UTC (rev 36231)
+++ trunk/blender/source/blender/editors/armature/editarmature.c 2011-04-20 03:05:19 UTC (rev 36232)
@@ -416,7 +416,9 @@
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;
}
More information about the Bf-blender-cvs
mailing list