[Bf-blender-cvs] [45434c75a06] blender2.8: Manipulator: change cursor for navigation axis

Campbell Barton noreply at git.blender.org
Sat Dec 16 09:26:54 CET 2017


Commit: 45434c75a06ebe8061e2f8c4bf8c1af9d24aa0fa
Author: Campbell Barton
Date:   Sat Dec 16 19:28:07 2017 +1100
Branches: blender2.8
https://developer.blender.org/rB45434c75a06ebe8061e2f8c4bf8c1af9d24aa0fa

Manipulator: change cursor for navigation axis

Wasn't easy to see

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

M	source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c

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

diff --git a/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c b/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c
index d57656ce42a..b520f239ef5 100644
--- a/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c
+++ b/source/blender/editors/space_view3d/view3d_manipulator_navigate_type.c
@@ -25,7 +25,9 @@
  *
  * \brief Simple manipulator to axis and translate.
  *
- * matrix_offset is used to store the orientation.
+ * - scale_basis: used for the size.
+ * - matrix_basis: used for the location.
+ * - matrix_offset: used to store the orientation.
  */
 
 #include "MEM_guardedalloc.h"
@@ -286,7 +288,7 @@ static int manipulator_axis_test_select(
 static int manipulator_axis_cursor_get(wmManipulator *mpr)
 {
 	if (mpr->highlight_part > 0) {
-		return BC_CROSSCURSOR;
+		return CURSOR_EDIT;
 	}
 	return BC_NSEW_SCROLLCURSOR;
 }



More information about the Bf-blender-cvs mailing list