Fix for #35390 fix: sequencer scene start/end still did not display when they are...
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 17 May 2013 16:37:47 +0000 (16:37 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 17 May 2013 16:37:47 +0000 (16:37 +0000)
source/blender/editors/space_sequencer/sequencer_draw.c

index c8fb0701d32eb9cbde75319da60d71f285aa9e50..3a5d1b9f7e304bd6f9c10d6a6739f59dc212a71d 100644 (file)
@@ -1381,7 +1381,7 @@ static void seq_draw_sfra_efra(Scene *scene, View2D *v2d)
         * frame range used is preview range or scene range */
        UI_ThemeColorShadeAlpha(TH_BACK, -25, -100);
 
-       if (PSFRA < PEFRA) {
+       if (PSFRA < PEFRA+1) {
                glRectf(v2d->cur.xmin, v2d->cur.ymin, (float)PSFRA, v2d->cur.ymax);
                glRectf((float)(PEFRA + 1), v2d->cur.ymin, v2d->cur.xmax, v2d->cur.ymax);
        }