[Bf-blender-cvs] [33bc6a3] master: T37247 - Modifier "Mask" not updated correctly when switching from objects

Henrik Aarnio noreply at git.blender.org
Mon Nov 25 14:19:07 CET 2013


Commit: 33bc6a3959b4f59f6ded304b5db06733653051cd
Author: Henrik Aarnio
Date:   Tue Nov 26 02:15:48 2013 +1300
http://developer.blender.org/rB33bc6a3959b4f59f6ded304b5db06733653051cd

T37247 - Modifier "Mask" not updated correctly when switching from objects

===================================================================

M	source/blender/editors/armature/pose_select.c

===================================================================

diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c
index 765437f..42d5571 100644
--- a/source/blender/editors/armature/pose_select.c
+++ b/source/blender/editors/armature/pose_select.c
@@ -180,7 +180,10 @@ int ED_do_pose_selectbuffer(Scene *scene, Base *base, unsigned int *buffer, shor
 			 * (e.g. Mask Modifier in 'Armature' mode), force update 
 			 */
 			else if (arm->flag & ARM_HAS_VIZ_DEPS) {
-				DAG_id_tag_update(&ob_act->id, OB_RECALC_DATA);
+				/* NOTE: ob not ob_act here is intentional - it's the source of the 
+				 *       bones being selected  [T37247]
+				 */
+				DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
 			}
 		}
 	}




More information about the Bf-blender-cvs mailing list