Bugfix: In sequencer, duplicating effects crashed due to calling a NULL

callback.
This commit is contained in:
Ton Roosendaal 2006-03-15 18:16:25 +00:00
parent c8d295080c
commit b8cde0000f

@ -1568,7 +1568,8 @@ static void recurs_dupli_seq(ListBase *old, ListBase *new)
if (seq->type & SEQ_EFFECT) {
struct SeqEffectHandle sh;
sh = get_sequence_effect(seq);
sh.copy(seq, seqn);
if(sh.copy)
sh.copy(seq, seqn);
}
seqn->strip= MEM_dupallocN(seq->strip);