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
This commit is contained in:
Richard Antalik 2020-12-29 19:55:48 +01:00
parent 48e0e0e2ac
commit c1740e9ad0
Notes: blender-bot 2023-02-14 11:35:46 +01:00
Referenced by issue #84052, Sound stops playing after undo
Referenced by issue #83991, Copy and paste of audio strip in VSE affects all the pasted and original strips
1 changed files with 1 additions and 1 deletions

View File

@ -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;