diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-05 12:37:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-05 12:37:30 +0300 |
commit | ade710500df4f333077daa96e3ab72eb2cdc3b94 (patch) | |
tree | 41755b424c69b944aae78e4d00d6d98afcc84c76 /source/blender/editors/uvedit/uvedit_draw.c | |
parent | f1a3b68e76d6a188d4c77384baceca70f956c31a (diff) |
UI: set cursor line width
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_draw.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |