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:
authorJoshua Leung <aligorith@gmail.com>2018-05-07 19:06:16 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-07 19:06:22 +0300
commitac6d59db6911759d166642e0ff37005f3190b4e1 (patch)
treece47ff2422b786487bb9317174f119d2358d0b26 /source/blender/editors/armature
parent56f7b4616a4af9ee8ea3bf78bb2913afdb6bcb54 (diff)
Fix ARMATURE_OT_layers_show_all now works with COW
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c
index 4d29bef63ee..d20a9b7ee8a 100644
--- a/source/blender/editors/armature/pose_edit.c
+++ b/source/blender/editors/armature/pose_edit.c
@@ -819,6 +819,7 @@ static int pose_armature_layers_showall_exec(bContext *C, wmOperator *op)
/* note, notifier might evolve */
WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob);
+ DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE);
/* done */
return OPERATOR_FINISHED;