From c4f69794ca14e3c38ea8558c8a5414df2a778e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 30 Oct 2018 16:21:44 +0100 Subject: UI: Fix point size and line width ignoring UI scaling option --- source/blender/editors/space_view3d/view3d_gizmo_ruler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_view3d/view3d_gizmo_ruler.c') diff --git a/source/blender/editors/space_view3d/view3d_gizmo_ruler.c b/source/blender/editors/space_view3d/view3d_gizmo_ruler.c index a3bd1b26a01..06dcafbe614 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_ruler.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_ruler.c @@ -519,7 +519,7 @@ static void gizmo_ruler_draw(const bContext *C, wmGizmo *gz) /* anti-aliased lines for more consistent appearance */ GPU_line_smooth(true); - GPU_line_width(1.0f * U.pixelsize); + GPU_line_width(1.0f); BLF_enable(blf_mono_font, BLF_ROTATION); BLF_size(blf_mono_font, 14 * U.pixelsize, U.dpi); -- cgit v1.2.3