diff options
author | Peter Schlaile <peter@schlaile.de> | 2007-03-25 13:03:24 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2007-03-25 13:03:24 +0400 |
commit | a9e76993ae672b70e2ee7ed08f07dcafddf10528 (patch) | |
tree | 317e1908280af9f8b781cc6d3648e86198f71855 | |
parent | 25c673ef429570d9798b55bd5a0b88be9908ab75 (diff) |
== Sequencer ==
Bugfix: forgot to reset effectdata on speed effect duplicate (thereby
sharing temporary data across effect strips leading to segfaults on the
road...)
-rw-r--r-- | source/blender/src/seqeffects.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/seqeffects.c b/source/blender/src/seqeffects.c index 713aacd2659..1dad24b10dc 100644 --- a/source/blender/src/seqeffects.c +++ b/source/blender/src/seqeffects.c @@ -2823,7 +2823,11 @@ static void free_speed_effect(Sequence *seq) static void copy_speed_effect(Sequence *dst, Sequence *src) { + SpeedControlVars * v; dst->effectdata = MEM_dupallocN(src->effectdata); + v = (SpeedControlVars *)dst->effectdata; + v->frameMap = 0; + v->length = 0; } static int early_out_speed(struct Sequence *seq, |