History

Honor reorient and quit request from OVR

Atlante45 committed 9 years ago

Commit 7b0b7771 parent bc9f2b45 files · +40 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -4750,7 +4750,7 @@ void Application::resetSensors(bool andReload) { · 4749 unmodified lines
4750 DependencyManager::get<EyeTracker>()->reset();4750 DependencyManager::get<EyeTracker>()->reset();
4751 getActiveDisplayPlugin()->resetSensors();4751 getActiveDisplayPlugin()->resetSensors();
4752 _overlayConductor.centerUI();4752 _overlayConductor.centerUI();
4753 getMyAvatar()->reset(andReload);4753 getMyAvatar()->reset(true, andReload);
4754 QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "reset", Qt::QueuedConnection);4754 QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "reset", Qt::QueuedConnection);
4755}4755}
4756 4756
@@ -5735,6 +5735,7 @@ void Application::updateDisplayMode() { · 978 unmodified lines
5735 QObject::connect(displayPlugin.get(), &DisplayPlugin::recommendedFramebufferSizeChanged, [this](const QSize & size) {5735 QObject::connect(displayPlugin.get(), &DisplayPlugin::recommendedFramebufferSizeChanged, [this](const QSize & size) {
5736 resizeGL();5736 resizeGL();
5737 });5737 });
5738 QObject::connect(displayPlugin.get(), &DisplayPlugin::resetSensorsRequested, this, &Application::requestReset);
5738 first = false;5739 first = false;
5739 }5740 }
5740 5741