UI: Fix curve extention filling on curve widgets
This commit is contained in:
@@ -1822,7 +1822,7 @@ void ui_draw_but_CURVE(ARegion *ar, uiBut *but, const uiWidgetColors *wcol, cons
|
|||||||
immVertex2f(pos, fx, fy);
|
immVertex2f(pos, fx, fy);
|
||||||
}
|
}
|
||||||
immVertex2f(pos, line_range.xmax, rect->ymin);
|
immVertex2f(pos, line_range.xmax, rect->ymin);
|
||||||
immVertex2f(pos, line_range.xmax, rect->ymax);
|
immVertex2f(pos, line_range.xmax, line_range.ymax);
|
||||||
immEnd();
|
immEnd();
|
||||||
GPU_polygon_smooth(false);
|
GPU_polygon_smooth(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user