Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -4750,7 +4750,7 @@ void Application::resetSensors(bool andReload) { · 4749 unmodified lines | ||
| 4750 | 4750 | DependencyManager::get<EyeTracker>()->reset(); |
| 4751 | 4751 | getActiveDisplayPlugin()->resetSensors(); |
| 4752 | 4752 | _overlayConductor.centerUI(); |
| 4753 | − getMyAvatar()->reset(andReload); | |
| 4753 | + getMyAvatar()->reset(true, andReload); | |
| 4754 | 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 | 5735 | QObject::connect(displayPlugin.get(), &DisplayPlugin::recommendedFramebufferSizeChanged, [this](const QSize & size) { |
| 5736 | 5736 | resizeGL(); |
| 5737 | 5737 | }); |
| 5738 | + QObject::connect(displayPlugin.get(), &DisplayPlugin::resetSensorsRequested, this, &Application::requestReset); | |
| 5738 | 5739 | first = false; |
| 5739 | 5740 | } |
| 5740 | 5741 | |