forked from bartvdbraak/blender
Bugfix: In sequencer, duplicating effects crashed due to calling a NULL
callback.
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user