[Bf-blender-cvs] [45685777031] wintab_fallback_walknav: Supply tablet data in mouse fallback for Wintab cursor movement.
Nicholas Rishel
noreply at git.blender.org
Fri Jul 9 09:04:44 CEST 2021
Commit: 4568577703176099f850b598566d1b4e8e28a747
Author: Nicholas Rishel
Date: Mon Jul 5 15:39:17 2021 -0700
Branches: wintab_fallback_walknav
https://developer.blender.org/rB4568577703176099f850b598566d1b4e8e28a747
Supply tablet data in mouse fallback for Wintab cursor movement.
===================================================================
M intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 4f5e957077d..91de0e79cf2 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1003,9 +1003,8 @@ void GHOST_SystemWin32::processWintabEvent(GHOST_WindowWin32 *window)
int x = GET_X_LPARAM(pos);
int y = GET_Y_LPARAM(pos);
- /* TODO supply tablet data */
system->pushEvent(new GHOST_EventCursor(
- system->getMilliSeconds(), GHOST_kEventCursorMove, window, x, y, GHOST_TABLET_DATA_NONE));
+ system->getMilliSeconds(), GHOST_kEventCursorMove, window, x, y, wt->getLastTabletData()));
}
}
More information about the Bf-blender-cvs
mailing list