Add missing line-width for curve widget

This commit is contained in:
Campbell Barton
2016-02-16 23:45:12 +11:00
parent 63b60be6d7
commit 8f944789cd

View File

@@ -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 */