From 0e9ea707b5e5be2a38dd29dded3dd6c25a5e1992 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 13 Mar 2019 15:38:45 +0100 Subject: Fix T58721: Keyframing one transform option reset other transforms Use dedicated flag to tag animation just for copy-on-write synchronization, which makes it so copies of the original data blocks gets in sync with the original ID. This will not flush the animation update to all objects which depend on that animation. If such flush is required, use ID_RECALC_ANIMATION. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4508 --- source/blender/editors/animation/keyingsets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/animation/keyingsets.c') diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 444e4634644..d532e22e7f7 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -1049,7 +1049,7 @@ int ANIM_apply_keyingset(bContext *C, ListBase *dsources, bAction *act, KeyingSe break; } default: - DEG_id_tag_update(ksp->id, ID_RECALC_COPY_ON_WRITE); + DEG_id_tag_update(ksp->id, ID_RECALC_ANIMATION_NO_FLUSH); break; } -- cgit v1.2.3