Fix wrong separator line width after drawing vec icon

Was visible in Dynamic Context Menu add-on.
This commit is contained in:
Julian Eisel 2016-10-06 22:44:15 +02:00
parent b859557115
commit ec6b593072
Notes: blender-bot 2023-02-14 07:30:30 +01:00
Referenced by issue #49623, Immediately crash trying to render attached file in Cycles
1 changed files with 1 additions and 0 deletions

View File

@ -2625,6 +2625,7 @@ static void ui_draw_separator(const rcti *rect, uiWidgetColors *wcol)
glEnable(GL_BLEND);
glColor4ubv(col);
glLineWidth(1.0f);
sdrawline(rect->xmin, y, rect->xmax, y);
glDisable(GL_BLEND);
}