diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-16 17:55:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-16 17:55:22 +0400 |
commit | dd705a25ceb0be2044f1f11055140811be892b03 (patch) | |
tree | e9c5b7c36ba7e53e2e8663f713ea608f34633470 /source/blender/editors | |
parent | f6ae7af2431a83f4492f72fd1b1df421f8675936 (diff) |
fix for freeze while resizing sequencer view vertically
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 4f52a17f623..e46294513e7 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -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); + if(pixely <= 0) return; /* can happen when the view is split/resized */ + blendcol[0] = blendcol[1] = blendcol[2] = 120; if(seq->startofs) { |