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/windowmanager | |
parent | ef22d2e8adb9965cd3cb91e733d4b9754cf6024f (diff) |
Fix 3D Cursor w/ interface scale
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator.c index f5a8746f807..5634a1a3ee7 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator.c +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator.c @@ -509,7 +509,7 @@ void wm_manipulator_calculate_scale(wmManipulator *mpr, const bContext *C) } /* Exclude matrix_offset from scale. */ - scale *= ED_view3d_pixel_size(rv3d, matrix_world[3]) / U.pixelsize; + scale *= ED_view3d_pixel_size_no_ui_scale(rv3d, matrix_world[3]); } else { scale *= 0.02f; |