diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-01-25 09:28:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-01-25 09:28:47 +0300 |
commit | 39e1043cfeb3abd7211a0643773d468bcd8161de (patch) | |
tree | 3fabfbdbc72ce47fb671f6ac4e7ca98eed2141d2 /source/blender/src/drawseq.c | |
parent | d35be5c578313d6edb6f979d3937a6b606207b4b (diff) |
a touch neater and some comments.
Diffstat (limited to 'source/blender/src/drawseq.c')
-rw-r--r-- | source/blender/src/drawseq.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c index 8a6e80d5f01..f1eac0cc1aa 100644 --- a/source/blender/src/drawseq.c +++ b/source/blender/src/drawseq.c @@ -822,13 +822,14 @@ void drawseqspace(ScrArea *sa, void *spacedata) if(ed) { seq= ed->seqbasep->first; - while(seq) { + while(seq) { /* bound box test, dont draw outside the view */ if (seq->flag & SELECT || seq->start > G.v2d->cur.xmax || seq->start+seq->len < G.v2d->cur.xmin || - seq->machine+1.0 < G.v2d->cur.ymin || seq->machine > G.v2d->cur.ymax) + seq->machine+1.0 < G.v2d->cur.ymin || + seq->machine > G.v2d->cur.ymax) { - /* do nothing */ + /* dont draw */ } else { drawseq(seq); } @@ -838,14 +839,14 @@ void drawseqspace(ScrArea *sa, void *spacedata) ed= G.scene->ed; if(ed) { seq= ed->seqbasep->first; - while(seq) { + while(seq) { /* bound box test, dont draw outside the view */ if (!(seq->flag & SELECT) || seq->start > G.v2d->cur.xmax || seq->start+seq->len < G.v2d->cur.xmin || seq->machine+1.0 < G.v2d->cur.ymin || seq->machine > G.v2d->cur.ymax) { - /* do nothing */ + /* dont draw */ } else { drawseq(seq); } |