Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-25 11:07:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-25 11:07:28 +0300
commit230943be2d0bb8cc508f0938003597249a9ddebb (patch)
tree7b28eb9d134e7c859fb14557e9d6c511858ea577 /source/blender/windowmanager
parentef22d2e8adb9965cd3cb91e733d4b9754cf6024f (diff)
Fix 3D Cursor w/ interface scale
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator.c2
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;