[Bf-blender-cvs] [0dfafa81245] master: NLA: remove tagging copy-on-write when tagging recalc-animation
Sybren A. Stüvel
noreply at git.blender.org
Thu Sep 24 15:19:11 CEST 2020
Commit: 0dfafa8124575f2285154b659a1962cfe0752bad
Author: Sybren A. Stüvel
Date: Thu Sep 24 15:12:49 2020 +0200
Branches: master
https://developer.blender.org/rB0dfafa8124575f2285154b659a1962cfe0752bad
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.
===================================================================
M source/blender/editors/space_nla/nla_channels.c
===================================================================
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index 86bb189c638..3cc4c0247aa 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -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);
More information about the Bf-blender-cvs
mailing list