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:
authorHenrik Aarnio <hjaarnio@gmail.com>2013-11-25 17:15:48 +0400
committerJoshua Leung <aligorith@gmail.com>2013-11-25 17:18:45 +0400
commit33bc6a3959b4f59f6ded304b5db06733653051cd (patch)
treeb42727563d0ecc0d5b54c464c0b34eeaa43630a1 /source/blender/editors
parente4f74d8e8dd750e7ebc08b7dfb327a6ac65040dd (diff)
T37247 - Modifier "Mask" not updated correctly when switching from objects
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/armature/pose_select.c5
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);
}
}
}