diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-10-06 23:44:15 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-10-06 23:45:12 +0300 |
commit | ec6b593072e461b99543fc1c839766c9e99779ab (patch) | |
tree | 7f5c67e843b69cf57827560b57025427b594af79 /source | |
parent | b8595571155fc65bc9201f2152951db837b76cf3 (diff) |
Fix wrong separator line width after drawing vec icon
Was visible in Dynamic Context Menu add-on.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 02981b543f3..c285d753b96 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -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); } |