[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40441] trunk/blender/source/blender/ editors/armature/editarmature.c: One of the two latest commits in this file broke the multi-bone selection in pose mode (shift-selection)...

Bastien Montagne montagne29 at wanadoo.fr
Wed Sep 21 23:17:39 CEST 2011


Revision: 40441
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40441
Author:   mont29
Date:     2011-09-21 21:17:38 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
One of the two latest commits in this file broke the multi-bone selection in pose mode (shift-selection)...

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-09-21 19:10:06 UTC (rev 40440)
+++ trunk/blender/source/blender/editors/armature/editarmature.c	2011-09-21 21:17:38 UTC (rev 40441)
@@ -4298,7 +4298,7 @@
 		 * note, special exception for armature mode so we can do multi-select
 		 * we could check for multi-select explicitly but think its fine to
 		 * always give pradictable behavior in weight paint mode - campbell */
-		if (!(extend) || ((ob_act && ob_act->mode & OB_MODE_WEIGHT_PAINT) == 0)) {
+		if (!extend || (ob_act && ob_act->mode & OB_MODE_WEIGHT_PAINT)) {
 			ED_pose_deselectall(ob, 0);
 			nearBone->flag |= (BONE_SELECTED|BONE_TIPSEL|BONE_ROOTSEL);
 			arm->act_bone= nearBone;




More information about the Bf-blender-cvs mailing list