Fix crash playing back files with saved speed control sequencer strip,

frameMap cache was not set to NULL on load.
This commit is contained in:
Brecht Van Lommel 2010-04-19 13:27:54 +00:00
parent 13e0d584c0
commit 8abd21dbc5

@ -4283,8 +4283,12 @@ static void direct_link_scene(FileData *fd, Scene *sce)
seq->plugin= newdataadr(fd, seq->plugin);
seq->effectdata= newdataadr(fd, seq->effectdata);
if (seq->type & SEQ_EFFECT) {
if(seq->type & SEQ_EFFECT)
seq->flag |= SEQ_EFFECT_NOT_LOADED;
if(seq->type == SEQ_SPEED) {
SpeedControlVars *s= seq->effectdata;
s->frameMap= NULL;
}
seq->strip= newdataadr(fd, seq->strip);