Fix wrong separator line width after drawing vec icon
Was visible in Dynamic Context Menu add-on.
This commit is contained in:
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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue