UI: replace transform hand icon w/ 4 arrows
authorCampbell Barton <ideasman42@gmail.com>
Sat, 28 Apr 2018 07:14:02 +0000 (09:14 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 28 Apr 2018 07:14:02 +0000 (09:14 +0200)
The hand doesn't have a hotspot which you might want using manipulators

source/blender/editors/manipulator_library/manipulator_types/cage2d_manipulator.c
source/blender/editors/manipulator_library/manipulator_types/grab3d_manipulator.c
source/blender/editors/transform/transform_input.c

index 23c6030f091d841c16a94c0905b611ba0d52e00c..00eff3654b946426b78c45da0a82de0f66d5dc78 100644 (file)
@@ -704,7 +704,7 @@ static int manipulator_cage2d_get_cursor(wmManipulator *mpr)
 
        switch (highlight_part) {
                case ED_MANIPULATOR_CAGE2D_PART_TRANSLATE:
-                       return BC_HANDCURSOR;
+                       return BC_NSEW_SCROLLCURSOR;
                case ED_MANIPULATOR_CAGE2D_PART_SCALE_MIN_X:
                case ED_MANIPULATOR_CAGE2D_PART_SCALE_MAX_X:
                        return CURSOR_X_MOVE;
index 4e62c9c396e11ae3381d856f67d75d923516be14..9c6c601b7ae8eba7f91d7e13f36ac6bd845757cd 100644 (file)
@@ -323,7 +323,7 @@ static void manipulator_grab_property_update(wmManipulator *mpr, wmManipulatorPr
 
 static int manipulator_grab_cursor_get(wmManipulator *UNUSED(mpr))
 {
-       return BC_HANDCURSOR;
+       return BC_NSEW_SCROLLCURSOR;
 }
 
 /* -------------------------------------------------------------------- */
index 6fe152c8f03768a327efc61a03c7fb95e6d39e0b..db761e5e23a05a9bfbcd8a2fc0dde7291377a50f 100644 (file)
@@ -351,7 +351,7 @@ void initMouseInputMode(TransInfo *t, MouseInput *mi, MouseInputMode mode)
                case HLP_NONE:
                        /* INPUT_VECTOR, INPUT_CUSTOM_RATIO, INPUT_CUSTOM_RATIO_FLIP */
                        if (t->flag & T_MODAL) {
-                               WM_cursor_set(win, BC_HANDCURSOR);
+                               WM_cursor_set(win, BC_NSEW_SCROLLCURSOR);
                        }
                        break;
                case HLP_SPRING: