[Bf-blender-cvs] [8f94478] master: Add missing line-width for curve widget

Campbell Barton noreply at git.blender.org
Tue Feb 16 13:53:49 CET 2016


Commit: 8f944789cdecb9e99254a55ac646e431f7e3bfe1
Author: Campbell Barton
Date:   Tue Feb 16 23:45:12 2016 +1100
Branches: master
https://developer.blender.org/rB8f944789cdecb9e99254a55ac646e431f7e3bfe1

Add missing line-width for curve widget

===================================================================

M	source/blender/editors/interface/interface_draw.c

===================================================================

diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c
index 2603902..9d6ae11 100644
--- a/source/blender/editors/interface/interface_draw.c
+++ b/source/blender/editors/interface/interface_draw.c
@@ -1304,6 +1304,8 @@ void ui_draw_but_CURVE(ARegion *ar, uiBut *but, uiWidgetColors *wcol, const rcti
 	float offsx = cumap->curr.xmin - (1.0f / zoomx);
 	float offsy = cumap->curr.ymin - (1.0f / zoomy);
 	
+	glLineWidth(1.0f);
+
 	/* backdrop */
 	if (but->a1 == UI_GRAD_H) {
 		/* magic trigger for curve backgrounds */




More information about the Bf-blender-cvs mailing list