forked from bartvdbraak/blender
fix for freeze while resizing sequencer view vertically
This commit is contained in:
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user