[Bf-blender-cvs] [6abc638a8b9] wintab: Remove fallback tablet data for testing.
Nicholas Rishel
noreply at git.blender.org
Sat May 7 08:45:50 CEST 2022
Commit: 6abc638a8b90414679b6849616a5fb1d52e8f86c
Author: Nicholas Rishel
Date: Fri May 6 23:45:41 2022 -0700
Branches: wintab
https://developer.blender.org/rB6abc638a8b90414679b6849616a5fb1d52e8f86c
Remove fallback tablet data for testing.
===================================================================
M intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 8e07bf4ea3d..378fd2db471 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1029,7 +1029,7 @@ void GHOST_SystemWin32::processWintabEvent(GHOST_WindowWin32 *window)
DWORD pos = GetMessagePos();
int x = GET_X_LPARAM(pos);
int y = GET_Y_LPARAM(pos);
- GHOST_TabletData td = wt->getLastTabletData();
+ GHOST_TabletData td = GHOST_TABLET_DATA_NONE;
system->pushEvent(new GHOST_EventCursor(
system->getMilliSeconds(), GHOST_kEventCursorMove, window, x, y, td));
More information about the Bf-blender-cvs
mailing list