[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56110] trunk/blender/source/blender/ editors/interface/interface_draw.c: Bug fix #34974
Ton Roosendaal
ton at blender.org
Wed Apr 17 15:40:00 CEST 2013
Revision: 56110
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56110
Author: ton
Date: 2013-04-17 13:40:00 +0000 (Wed, 17 Apr 2013)
Log Message:
-----------
Bug fix #34974
The open region indicator (with +) didn't do alpha blending properly, so it wasn't
visible for any theme color.
Modified Paths:
--------------
trunk/blender/source/blender/editors/interface/interface_draw.c
Modified: trunk/blender/source/blender/editors/interface/interface_draw.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_draw.c 2013-04-17 11:33:22 UTC (rev 56109)
+++ trunk/blender/source/blender/editors/interface/interface_draw.c 2013-04-17 13:40:00 UTC (rev 56110)
@@ -390,7 +390,7 @@
/* (old, used in outliner) plain antialiased filled box */
void uiRoundBox(float minx, float miny, float maxx, float maxy, float rad)
{
- ui_draw_anti_roundbox(GL_POLYGON, minx, miny, maxx, maxy, rad, roundboxtype & UI_RB_ALPHA);
+ ui_draw_anti_roundbox(GL_POLYGON, minx, miny, maxx, maxy, rad, roundboxtype | UI_RB_ALPHA);
}
/* ************** SPECIAL BUTTON DRAWING FUNCTIONS ************* */
More information about the Bf-blender-cvs
mailing list