diff options
author | Ton Roosendaal <ton@blender.org> | 2005-08-22 21:52:52 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-08-22 21:52:52 +0400 |
commit | a5bc9582cb0876a217a3393c76804dd9f83a7823 (patch) | |
tree | 048406a6e0dcb4ee65f353850ead3c9998f8c4bf /source/blender/src/ghostwinlay.c | |
parent | 65a52fc419a990036cdf77ccb8bc724b0aefa8b5 (diff) |
Three little feats;
- Vpaint and Wpaint now use our own custom cursor, this was a very old
plan anyway. It uses the 'knife' now, we need a good brush icon for it!
- On scaling bones in editmode, the deform distance info gets scaled now
too when no "Envelope" draw mode was set.
- Disabled front buffer drawing of objects with CTRL+select in Edit Mode.
Uses a regular redraw now (like for select in Object Mode btw)
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r-- | source/blender/src/ghostwinlay.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index 3d38df1595d..7a83dbcb2f5 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -409,7 +409,15 @@ void window_set_cursor(Window *win, int curs) { GHOST_SetCursorVisibility(win->ghostwin, 0); } else { GHOST_SetCursorVisibility(win->ghostwin, 1); - GHOST_SetCursorShape(win->ghostwin, convert_cursor(curs)); + + /* detect if we use system cursor or Blender cursor */ + switch(curs) { + case CURSOR_VPAINT: + SetBlenderCursor(BC_KNIFECURSOR); + break; + default: + GHOST_SetCursorShape(win->ghostwin, convert_cursor(curs)); + } } } |