mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 09:33:29 +02:00
don't move mouse on reset sensors
This commit is contained in:
parent
f35c1694f7
commit
9f602a938d
1 changed files with 0 additions and 8 deletions
|
@ -3906,16 +3906,8 @@ void Application::resetSensors(bool andReload) {
|
|||
DependencyManager::get<Faceshift>()->reset();
|
||||
DependencyManager::get<DdeFaceTracker>()->reset();
|
||||
DependencyManager::get<EyeTracker>()->reset();
|
||||
|
||||
getActiveDisplayPlugin()->resetSensors();
|
||||
|
||||
QScreen* currentScreen = _window->windowHandle()->screen();
|
||||
QWindow* mainWindow = _window->windowHandle();
|
||||
QPoint windowCenter = mainWindow->geometry().center();
|
||||
_glWidget->cursor().setPos(currentScreen, windowCenter);
|
||||
|
||||
getMyAvatar()->reset(andReload);
|
||||
|
||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "reset", Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue