diff options
author | Henrik Aarnio <hjaarnio@gmail.com> | 2013-11-25 17:15:48 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-11-25 17:18:45 +0400 |
commit | 33bc6a3959b4f59f6ded304b5db06733653051cd (patch) | |
tree | b42727563d0ecc0d5b54c464c0b34eeaa43630a1 /source/blender/editors/armature | |
parent | e4f74d8e8dd750e7ebc08b7dfb327a6ac65040dd (diff) |
T37247 - Modifier "Mask" not updated correctly when switching from objects
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/pose_select.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index 765437f3622..42d55712b03 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); } } } |