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

This commit is contained in:
Henrik Aarnio 2013-11-26 02:15:48 +13:00 committed by Joshua Leung
parent e4f74d8e8d
commit 33bc6a3959
Notes: blender-bot 2023-02-14 11:40:21 +01:00
Referenced by issue #37247, Modifier "Mask" not updated correctly when switching from objects
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}
}
}