One of the two latest commits in this file broke the multi-bone selection in pose mode (shift-selection)...

This commit is contained in:
Bastien Montagne 2011-09-21 21:17:38 +00:00
parent 922dadf6ea
commit b2a43f5e8c

@ -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 * note, special exception for armature mode so we can do multi-select
* we could check for multi-select explicitly but think its fine to * we could check for multi-select explicitly but think its fine to
* always give pradictable behavior in weight paint mode - campbell */ * 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); ED_pose_deselectall(ob, 0);
nearBone->flag |= (BONE_SELECTED|BONE_TIPSEL|BONE_ROOTSEL); nearBone->flag |= (BONE_SELECTED|BONE_TIPSEL|BONE_ROOTSEL);
arm->act_bone= nearBone; arm->act_bone= nearBone;