diff options
-rw-r--r-- | source/blender/editors/armature/pose_lib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/armature/pose_lib.c b/source/blender/editors/armature/pose_lib.c index 609281a7bf2..65a55354982 100644 --- a/source/blender/editors/armature/pose_lib.c +++ b/source/blender/editors/armature/pose_lib.c @@ -501,7 +501,8 @@ static int poselib_add_exec(bContext *C, wmOperator *op) /* store new 'active' pose number */ act->active_marker = BLI_listbase_count(&act->markers); - + DEG_id_tag_update(&act->id, DEG_TAG_COPY_ON_WRITE); + /* done */ return OPERATOR_FINISHED; } @@ -615,7 +616,8 @@ static int poselib_remove_exec(bContext *C, wmOperator *op) * may be being shown in anim editors as active action */ WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL); - + DEG_id_tag_update(&act->id, DEG_TAG_COPY_ON_WRITE); + /* done */ return OPERATOR_FINISHED; } |