[Bf-blender-cvs] [ac6d59db691] blender2.8: Fix ARMATURE_OT_layers_show_all now works with COW
Joshua Leung
noreply at git.blender.org
Mon May 7 18:06:34 CEST 2018
Commit: ac6d59db6911759d166642e0ff37005f3190b4e1
Author: Joshua Leung
Date: Mon May 7 18:06:16 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBac6d59db6911759d166642e0ff37005f3190b4e1
Fix ARMATURE_OT_layers_show_all now works with COW
===================================================================
M source/blender/editors/armature/pose_edit.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list