From ade710500df4f333077daa96e3ab72eb2cdc3b94 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 5 Jun 2018 11:37:30 +0200 Subject: UI: set cursor line width --- source/blender/editors/uvedit/uvedit_draw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/uvedit') diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index e467c61609d..4473922841f 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -87,6 +87,8 @@ void ED_image_draw_cursor(ARegion *ar, const float cursor[2]) x_fac = zoom[0]; y_fac = zoom[1]; + glLineWidth(1.0f); + gpuTranslate2fv(cursor); const uint shdr_pos = GWN_vertformat_attr_add(immVertexFormat(), "pos", GWN_COMP_F32, 2, GWN_FETCH_FLOAT); -- cgit v1.2.3