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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2013-12-31 05:00:21 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2013-12-31 05:00:21 +0400
commit0775e739b7f6a990550f8498b8de3655286ae051 (patch)
tree68e246dbc0bc06c115f4b5c6a02068edc9ade505 /source/blender/windowmanager/intern/wm_cursors.c
parent3d40e3f9dbf60e21a49429218bad68836b014e5d (diff)
Fix T37947: large cursors now also work on linux/mac for the edit mode cross.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index 9b308553006..e6fc2cf6bb2 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -122,6 +122,11 @@ void WM_cursor_set(wmWindow *win, int curs)
* only 1 pixel thick, use another one instead */
if (curs == CURSOR_EDIT)
curs = BC_CROSSCURSOR;
+#else
+ /* in case of large cursor, also use custom cursor because
+ * large cursors don't work for system cursors */
+ if (U.curssize && curs == CURSOR_EDIT)
+ curs = BC_CROSSCURSOR;
#endif
GHOST_SetCursorVisibility(win->ghostwin, 1);