mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Revert "Disable touch event emulation for tablet until we fix crash"
This commit is contained in:
parent
52bebf621d
commit
af2452eb64
1 changed files with 0 additions and 8 deletions
|
@ -337,19 +337,11 @@ void Web3DOverlay::setProxyWindow(QWindow* proxyWindow) {
|
|||
}
|
||||
|
||||
void Web3DOverlay::handlePointerEvent(const PointerEvent& event) {
|
||||
// FIXME touch event emulation is broken in some way. Do NOT enable this code
|
||||
// unless you have done a debug build of the application and verified that
|
||||
// you are not getting assertion errors on handling the touch events inside
|
||||
// Qt.
|
||||
#if 0
|
||||
if (_inputMode == Touch) {
|
||||
handlePointerEventAsTouch(event);
|
||||
} else {
|
||||
handlePointerEventAsMouse(event);
|
||||
}
|
||||
#else
|
||||
handlePointerEventAsMouse(event);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Web3DOverlay::handlePointerEventAsTouch(const PointerEvent& event) {
|
||||
|
|
Loading…
Reference in a new issue