Fix T78837: Prefetching can corrupt .blend files

This happened because of typo in seq_dupli() when duplicating effect data.
Instead of duplicating data to new sequence, it was duplicated into original.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8295
This commit is contained in:
Richard Antalik 2020-07-16 02:24:37 +02:00
parent 974e36d7d0
commit 75a09ba2ed
Notes: blender-bot 2023-02-14 07:08:26 +01:00
Referenced by issue #78984, Deleting a bone crashes blender.
Referenced by issue #78837, Prefetching can corrupt .blend files
Referenced by issue #78659, Blender crash when opening video sequence editor after save and reopen of file
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 1 deletions

View File

@ -5725,7 +5725,7 @@ static Sequence *seq_dupli(const Scene *scene_src,
struct SeqEffectHandle sh;
sh = BKE_sequence_get_effect(seq);
if (sh.copy) {
sh.copy(seq, seqn, flag);
sh.copy(seqn, seq, flag);
}
seqn->strip->stripdata = NULL;