diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-10-30 18:21:44 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-10-30 18:44:23 +0300 |
commit | c4f69794ca14e3c38ea8558c8a5414df2a778e19 (patch) | |
tree | a740374774076d9c1beaeb794423a1a9a131c27e /source/blender/editors/space_view3d/view3d_gizmo_ruler.c | |
parent | 26223f8d9a09a0554e94610039abf5c85284e2e3 (diff) |
UI: Fix point size and line width ignoring UI scaling option
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_ruler.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_ruler.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |