Blender Git Loki

Git Commits -> Revision 77476b2

Revision 77476b2 by Campbell Barton (master)
October 7, 2009, 07:11 (GMT)
Experimental option to allow moving the mouse outside the view, "Continuous Grab" in the user-prefs.
- Useful for dragging buttons to the far right when theyd otherwise hit the screen edge.
- Useful for transform though probably NOT what you want when using the transform manipulator (should make an option).
- When enabled, number buttons use this as well as a different conversion of mouse movement
float numbuts: mouse 1px == 1-clickstep
int numbuts: 2px == 1 (tried 1:1 but its too jitter prone)

details...
- access as an option to GHOST_SetCursorGrab(grab, warp)
- Currently all operators that grab use this, could be made an operator flag
- only Ghost/X11 supported currently

Commit Details:

Full Hash: 77476b294f8a7a74ee6f19ff8bfcbb3fb26e3bda
SVN Revision: 23679
Parent Commit: 8283957
Lines Changed: +268, -89

15 Modified Paths:

/intern/ghost/GHOST_C-api.h (+1, -1) (Diff)
/intern/ghost/GHOST_IWindow.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+38, -10) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+8, -4) (Diff)
/intern/ghost/intern/GHOST_Window.h (+51, -2) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+20, -3) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+2, -1) (Diff)
/release/scripts/ui/space_userpref.py (+2, -2) (Diff)
/source/blender/editors/interface/interface_handlers.c (+132, -57) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_cursors.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+3, -3) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021