UI: Fix curve extention filling on curve widgets

This commit is contained in:
2019-03-22 03:48:41 +01:00
parent 6a65bb4955
commit 875b50f94f

View File

@@ -1822,7 +1822,7 @@ void ui_draw_but_CURVE(ARegion *ar, uiBut *but, const uiWidgetColors *wcol, cons
immVertex2f(pos, fx, fy);
}
immVertex2f(pos, line_range.xmax, rect->ymin);
immVertex2f(pos, line_range.xmax, rect->ymax);
immVertex2f(pos, line_range.xmax, line_range.ymax);
immEnd();
GPU_polygon_smooth(false);