[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34903] trunk/blender/source/blender/ editors/animation/anim_markers.c: Marker Drawing Bugfix:

Joshua Leung aligorith at gmail.com
Wed Feb 16 13:00:54 CET 2011


Revision: 34903
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34903
Author:   aligorith
Date:     2011-02-16 12:00:53 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
Marker Drawing Bugfix:

Removed superfluous blend-mode change which was causing some weird
white lines to appear, especially when using some markers that don't
have any names.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/anim_markers.c

Modified: trunk/blender/source/blender/editors/animation/anim_markers.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_markers.c	2011-02-16 11:38:28 UTC (rev 34902)
+++ trunk/blender/source/blender/editors/animation/anim_markers.c	2011-02-16 12:00:53 UTC (rev 34903)
@@ -341,7 +341,6 @@
 	
 	UI_icon_draw(xpos*xscale-5.0f, 16.0f, icon_id);
 	
-	glBlendFunc(GL_ONE, GL_ZERO);
 	glDisable(GL_BLEND);
 	
 	/* and the marker name too, shifted slightly to the top-right */




More information about the Bf-blender-cvs mailing list