Commit: f998bad211aee61fe5131d7b8b56cd24969f29cc Author: Joshua Leung Date: Fri May 11 17:43:56 2018 +0200 Branches: blender2.8 https://developer.blender.org/rBf998bad211aee61fe5131d7b8b56cd24969f29cc
Fix: Last of the operators from T54811 now work with Copy on Write =================================================================== 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 5e62210e2e2..d24848b4b76 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -888,6 +888,7 @@ static int armature_layers_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); return OPERATOR_FINISHED; } @@ -962,6 +963,7 @@ static int pose_bone_layers_exec(bContext *C, wmOperator *op) /* note, notifier might evolve */ WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob); + DEG_id_tag_update((ID *)ob->data, DEG_TAG_COPY_ON_WRITE); return OPERATOR_FINISHED; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs