Update CoW when adding/removing pose in pose library
This commit is contained in:
parent
f56a9fbad5
commit
4e96bff938
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue