[Bf-blender-cvs] [c1740e9ad02] master: Fix T83991: Pasting sound strip not working correctly

Richard Antalik noreply at git.blender.org
Tue Dec 29 19:59:43 CET 2020


Commit: c1740e9ad02da17829a30c8755790729e083cba5
Author: Richard Antalik
Date:   Tue Dec 29 19:55:48 2020 +0100
Branches: master
https://developer.blender.org/rBc1740e9ad02da17829a30c8755790729e083cba5

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

===================================================================

M	source/blender/sequencer/intern/sequencer.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list