NLA: remove tagging copy-on-write when tagging recalc-animation

Remove `ID_RECALC_COPY_ON_WRITE` when tagging `ID_RECALC_ANIMATION`; the
former is unnecessary when using the latter.

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2020-09-24 15:12:49 +02:00
parent 424084eeb5
commit 0dfafa8124

View File

@@ -518,7 +518,7 @@ static int nlachannels_pushdown_exec(bContext *C, wmOperator *op)
/* 'push-down' action - only usable when not in TweakMode */
BKE_nla_action_pushdown(adt);
DEG_id_tag_update_ex(CTX_data_main(C), id, ID_RECALC_ANIMATION | ID_RECALC_COPY_ON_WRITE);
DEG_id_tag_update_ex(CTX_data_main(C), id, ID_RECALC_ANIMATION);
/* set notifier that things have changed */
WM_event_add_notifier(C, NC_ANIMATION | ND_NLA_ACTCHANGE, NULL);