diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 11:07:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 11:07:28 +0300 |
commit | 230943be2d0bb8cc508f0938003597249a9ddebb (patch) | |
tree | 7b28eb9d134e7c859fb14557e9d6c511858ea577 /source/blender/draw/intern/draw_view.c | |
parent | ef22d2e8adb9965cd3cb91e733d4b9754cf6024f (diff) |
Fix 3D Cursor w/ interface scale
Diffstat (limited to 'source/blender/draw/intern/draw_view.c')
-rw-r--r-- | source/blender/draw/intern/draw_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_view.c b/source/blender/draw/intern/draw_view.c index 2c4e5f8b151..726d77a9925 100644 --- a/source/blender/draw/intern/draw_view.c +++ b/source/blender/draw/intern/draw_view.c @@ -682,7 +682,7 @@ void DRW_draw_cursor(void) immUniformThemeColor3(TH_VIEW_OVERLAY); immBegin(GWN_PRIM_LINES, 12); - const float scale = ED_view3d_pixel_size(rv3d, cursor->location) * 20; + const float scale = ED_view3d_pixel_size_no_ui_scale(rv3d, cursor->location) * U.widget_unit; #define CURSOR_VERT(axis_vec, axis, fac) \ immVertex3f( \ |