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-06-14 10:55:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-14 10:55:58 +0300
commit4ee97c9a1cbfb4590d939d5a9c11c41aa2be2f56 (patch)
treed36c4d2043917877d01957763f45b9ee6e604077 /source/blender/windowmanager
parentba2c10c1f70977398ee8019d3aab7005b865ab2e (diff)
WM: increase hot-spot of 3D manipulators
Larger hot-spot was disabled for performance, however without this - clicking on them is too difficult.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c
index 0b4b1f5e9e1..7b06382b029 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c
@@ -542,9 +542,8 @@ static wmManipulator *manipulator_find_intersected_3d(
int hotspot_radii[] = {
3 * U.pixelsize,
-#if 0 /* We may want to enable when selection doesn't run on mousemove! */
- 7 * U.pixelsize,
-#endif
+ /* This runs on mouse move, careful doing too many tests! */
+ 10 * U.pixelsize,
};
*r_part = 0;