[Bf-blender-cvs] [70ca48b67f1] master: Button events now include tabletdata, so move is unnecessary.
Nicholas Rishel
noreply at git.blender.org
Sat Oct 31 00:32:24 CET 2020
Commit: 70ca48b67f1b84a62104d134505207ead9038e18
Author: Nicholas Rishel
Date: Sat Apr 11 21:40:09 2020 -0700
Branches: master
https://developer.blender.org/rB70ca48b67f1b84a62104d134505207ead9038e18
Button events now include tabletdata, so move is unnecessary.
Signed-off-by: Nicholas Rishel <rishel.nick at gmail.com>
===================================================================
M intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 558143a2ead..ddf5ac14ef3 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1011,9 +1011,6 @@ GHOST_TSuccess GHOST_SystemWin32::processWintabEvents(GHOST_TEventType type,
* changing a window.
*/
if (type == GHOST_kEventButtonDown) {
- // Move cursor to point of contact because GHOST_EventButton does not include position.
- system->pushEvent(new GHOST_EventCursor(
- info.time, GHOST_kEventCursorMove, window, info.x, info.y, info.tabletData));
system->pushEvent(
new GHOST_EventButton(info.time, info.type, window, info.button, info.tabletData));
}
More information about the Bf-blender-cvs
mailing list