Fix ARMATURE_OT_layers_show_all now works with COW

This commit is contained in:
Joshua Leung
2018-05-07 18:06:16 +02:00
parent 56f7b4616a
commit ac6d59db69

View File

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