fix for freeze while resizing sequencer view vertically

This commit is contained in:
Campbell Barton 2010-07-16 13:55:22 +00:00
parent f6ae7af243
commit dd705a25ce

@ -381,6 +381,8 @@ static void draw_seq_extensions(Scene *scene, ARegion *ar, SpaceSeq *sseq, Seque
pixely = (v2d->cur.ymax - v2d->cur.ymin)/(v2d->mask.ymax - v2d->mask.ymin); pixely = (v2d->cur.ymax - v2d->cur.ymin)/(v2d->mask.ymax - v2d->mask.ymin);
if(pixely <= 0) return; /* can happen when the view is split/resized */
blendcol[0] = blendcol[1] = blendcol[2] = 120; blendcol[0] = blendcol[1] = blendcol[2] = 120;
if(seq->startofs) { if(seq->startofs) {