From c1740e9ad02da17829a30c8755790729e083cba5 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Tue, 29 Dec 2020 19:55:48 +0100 Subject: Fix T83991: Pasting sound strip not working correctly New UUID was generated for original strip not new one. Bug caused "invisible" sound strip playing that is impossible to remove. Especially noticable when transforming pasted strips. In such case, file reload was necessary. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9912 --- source/blender/sequencer/intern/sequencer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/sequencer/intern/sequencer.c b/source/blender/sequencer/intern/sequencer.c index b589a75fa42..07a767e7447 100644 --- a/source/blender/sequencer/intern/sequencer.c +++ b/source/blender/sequencer/intern/sequencer.c @@ -361,7 +361,7 @@ static Sequence *seq_dupli(const Scene *scene_src, Sequence *seqn = MEM_dupallocN(seq); if ((flag & LIB_ID_CREATE_NO_MAIN) == 0) { - SEQ_relations_session_uuid_generate(seq); + SEQ_relations_session_uuid_generate(seqn); } seq->tmp = seqn; -- cgit v1.2.3