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()));
   }
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to