Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2020-07-16 03:24:37 +0300
committerJeroen Bakker <jeroen@blender.org>2020-07-29 11:03:36 +0300
commit3058bf075776de6a426391024aeb0d5257eb5898 (patch)
tree288305db42a64d96f0f9c01948aa8de8c7094f27
parentc8d0a615efcb8398ae6e8f90ba09e9567dd750fd (diff)
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
-rw-r--r--source/blender/blenkernel/intern/sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index dc27ca9e6cb..7a0233d173a 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -5732,7 +5732,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;