Blender Git Loki

Git Commits -> Revision 2e9d5ba

Revision 2e9d5ba by Brecht Van Lommel (master)
January 21, 2020, 11:24 (GMT)
GHOST: bundle tablet data with GHOST event

Previously the window manager would receive the GHOST event and then query the
latest tablet data from the window to go along with it. If multiple events were
queued, it would then use too new tablet data for handling older events.

Fixes T62565: tablet pressure not working on macOS with some devices

Commit Details:

Full Hash: 2e9d5ba2115ceabdc0e8cb2eaa148c81d7b04667
Parent Commit: c58cc8a
Lines Changed: +66, -77

19 Modified Paths:

/intern/ghost/GHOST_IWindow.h (+5, -1) (Diff)
/intern/ghost/GHOST_Types.h (+10, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventButton.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_EventCursor.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+10, -17) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+2, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+11, -11) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+1, -1) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+0, -5) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+0, -5) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+2, -8) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+2, -7) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+12, -15) (Diff)
/source/blender/windowmanager/wm_event_system.h (+2, -0) (Diff)
/source/blender/windowmanager/WM_types.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