Bug [#20572] Crash Blender - Gkey in Video Sequence Editor

Missing null check in durian fcurve hack (always enabled for some reasons)
This commit is contained in:
Martin Poirier
2010-01-10 19:19:22 +00:00
parent c723251cc0
commit 8fedb7d65f

View File

@@ -3652,7 +3652,7 @@ void seq_offset_animdata(Scene *scene, Sequence *seq, int ofs)
char str[32];
FCurve *fcu;
if(scene->adt==NULL || ofs==0)
if(scene->adt==NULL || ofs==0 || scene->adt->action==NULL)
return;
sprintf(str, "[\"%s\"]", seq->name+2);