[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56872] trunk/blender/source/blender/ editors/space_sequencer/sequencer_draw.c: Fix #35390: the verticel lines indicating scene start and end frame in the

Brecht Van Lommel brechtvanlommel at pandora.be
Fri May 17 11:47:05 CEST 2013


Revision: 56872
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56872
Author:   blendix
Date:     2013-05-17 09:47:05 +0000 (Fri, 17 May 2013)
Log Message:
-----------
Fix #35390: the verticel lines indicating scene start and end frame in the
sequencer now draw such that a strip that spans this time is contained just
between these lines.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_sequencer/sequencer_draw.c

Modified: trunk/blender/source/blender/editors/space_sequencer/sequencer_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_sequencer/sequencer_draw.c	2013-05-17 07:10:40 UTC (rev 56871)
+++ trunk/blender/source/blender/editors/space_sequencer/sequencer_draw.c	2013-05-17 09:47:05 UTC (rev 56872)
@@ -1383,7 +1383,7 @@
 
 	if (PSFRA < PEFRA) {
 		glRectf(v2d->cur.xmin, v2d->cur.ymin, (float)PSFRA, v2d->cur.ymax);
-		glRectf((float)PEFRA, v2d->cur.ymin, v2d->cur.xmax, v2d->cur.ymax);
+		glRectf((float)(PEFRA+1), v2d->cur.ymin, v2d->cur.xmax, v2d->cur.ymax);
 	}
 	else {
 		glRectf(v2d->cur.xmin, v2d->cur.ymin, v2d->cur.xmax, v2d->cur.ymax);
@@ -1392,7 +1392,7 @@
 	UI_ThemeColorShade(TH_BACK, -60);
 	/* thin lines where the actual frames are */
 	fdrawline((float)PSFRA, v2d->cur.ymin, (float)PSFRA, v2d->cur.ymax);
-	fdrawline((float)PEFRA, v2d->cur.ymin, (float)PEFRA, v2d->cur.ymax);
+	fdrawline((float)(PEFRA+1), v2d->cur.ymin, (float)(PEFRA+1), v2d->cur.ymax);
 	
 	glDisable(GL_BLEND);
 }




More information about the Bf-blender-cvs mailing list