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

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

Reply via email to