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
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2011-09-22 01:17:38 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-09-22 01:17:38 +0400
commitb2a43f5e8cfad97be128821a2c904213847c591b (patch)
tree92defad5fbe28c980bce75ddd3b792fbd8e18845 /source/blender/editors/armature
parent922dadf6ea58aade0891fb05dbb70b9a108b881c (diff)
One of the two latest commits in this file broke the multi-bone selection in pose mode (shift-selection)...
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/editarmature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c
index 566ff09c366..b979962de5d 100644
--- a/source/blender/editors/armature/editarmature.c
+++ b/source/blender/editors/armature/editarmature.c
@@ -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;