mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
Merge pull request #2978 from Barnold1953/OculusOverlay
Fixed bug that disabled cursor for windows
This commit is contained in:
commit
e48cfb84c1
1 changed files with 1 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ void Application::mouseMoveEvent(QMouseEvent* event) {
|
||||||
|
|
||||||
_lastMouseMove = usecTimestampNow();
|
_lastMouseMove = usecTimestampNow();
|
||||||
|
|
||||||
if (_mouseHidden && !OculusManager::isConnected) {
|
if (_mouseHidden && !OculusManager::isConnected()) {
|
||||||
getGLWidget()->setCursor(Qt::ArrowCursor);
|
getGLWidget()->setCursor(Qt::ArrowCursor);
|
||||||
_mouseHidden = false;
|
_mouseHidden = false;
|
||||||
_seenMouseMove = true;
|
_seenMouseMove = true;
|
||||||
|
|
Loading…
Reference in a new issue