Revision: 24630
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24630
Author: aligorith
Date: 2009-11-18 09:50:09 +0100 (Wed, 18 Nov 2009)
Log Message:
-----------
Attempted bugfix for #19909: missing text in frame indicator box
Not sure whether this fixes the issue, but it sounds like some Intel cards have
issues with alpha values lingering around.
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/anim_draw.c
Modified: trunk/blender/source/blender/editors/animation/anim_draw.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_draw.c 2009-11-18
08:40:18 UTC (rev 24629)
+++ trunk/blender/source/blender/editors/animation/anim_draw.c 2009-11-18
08:50:09 UTC (rev 24630)
@@ -145,12 +145,12 @@
y= 18;
/* draw green box around/behind text */
- UI_ThemeColorShadeAlpha(TH_CFRAME, 0, -100);
+ UI_ThemeColorShade(TH_CFRAME, 0);
glRectf(x, y, x+slen, y+15);
/* draw current frame number - black text */
UI_ThemeColor(TH_TEXT);
- UI_DrawString(x-5, y+3, str); // XXX may need to be updated for font
stuff
+ UI_DrawString(x-5, y+3, str);
/* restore view transform */
glScalef(xscale, 1.0, 1.0);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs