One of the two latest commits in this file broke the multi-bone selection in pose...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 21 Sep 2011 21:17:38 +0000 (21:17 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 21 Sep 2011 21:17:38 +0000 (21:17 +0000)
source/blender/editors/armature/editarmature.c

index 566ff09c366223988470dfdeb5f4789ed0eb1645..b979962de5dd18522ba9d3e918e77170a78d2099 100644 (file)
@@ -4298,7 +4298,7 @@ int ED_do_pose_selectbuffer(Scene *scene, Base *base, unsigned int *buffer, shor
                 * 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;