forked from bartvdbraak/blender
Fix T37947: large cursors now also work on linux/mac for the edit mode cross.
This commit is contained in:
parent
3d40e3f9db
commit
0775e739b7
@ -122,6 +122,11 @@ void WM_cursor_set(wmWindow *win, int curs)
|
|||||||
* only 1 pixel thick, use another one instead */
|
* only 1 pixel thick, use another one instead */
|
||||||
if (curs == CURSOR_EDIT)
|
if (curs == CURSOR_EDIT)
|
||||||
curs = BC_CROSSCURSOR;
|
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
|
#endif
|
||||||
|
|
||||||
GHOST_SetCursorVisibility(win->ghostwin, 1);
|
GHOST_SetCursorVisibility(win->ghostwin, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user