[Bf-blender-cvs] [ade710500df] blender2.8: UI: set cursor line width
Campbell Barton
noreply at git.blender.org
Tue Jun 5 11:38:13 CEST 2018
Commit: ade710500df4f333077daa96e3ab72eb2cdc3b94
Author: Campbell Barton
Date: Tue Jun 5 11:37:30 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBade710500df4f333077daa96e3ab72eb2cdc3b94
UI: set cursor line width
===================================================================
M source/blender/editors/uvedit/uvedit_draw.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list