[Bf-blender-cvs] [4ee97c9a1cb] blender2.8: WM: increase hot-spot of 3D manipulators

Campbell Barton noreply at git.blender.org
Thu Jun 14 10:00:52 CEST 2018


Commit: 4ee97c9a1cbfb4590d939d5a9c11c41aa2be2f56
Author: Campbell Barton
Date:   Thu Jun 14 09:55:58 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB4ee97c9a1cbfb4590d939d5a9c11c41aa2be2f56

WM: increase hot-spot of 3D manipulators

Larger hot-spot was disabled for performance,
however without this - clicking on them is too difficult.

===================================================================

M	source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list