== Sequencer ==

Bugfix: forgot to reset effectdata on speed effect duplicate (thereby
sharing temporary data across effect strips leading to segfaults on the
road...)
This commit is contained in:
2007-03-25 09:03:24 +00:00
parent 25c673ef42
commit a9e76993ae

View File

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