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:
2020-12-29 19:55:48 +01:00
parent 48e0e0e2ac
commit c1740e9ad0

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;