Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -4680,6 +4680,11 @@ void Application::updateDisplayMode() { · 4679 unmodified lines | |||
| 4680 | if (oldDisplayPlugin) { | 4680 | if (oldDisplayPlugin) { |
| 4681 | oldDisplayPlugin->deactivate(); | 4681 | oldDisplayPlugin->deactivate(); |
| 4682 | _offscreenContext->makeCurrent(); | 4682 | _offscreenContext->makeCurrent(); |
| 4683 | |||
| 4684 | // if the old plugin was HMD and the new plugin is not HMD, then hide our hmdtools | ||
| 4685 | if (oldDisplayPlugin->isHmd() && !newDisplayPlugin->isHmd()) { | ||
| 4686 | DependencyManager::get<DialogsManager>()->hmdTools(false); | ||
| 4687 | } | ||
| 4683 | } | 4688 | } |
| 4684 | emit activeDisplayPluginChanged(); | 4689 | emit activeDisplayPluginChanged(); |
| 4685 | resetSensors(); | 4690 | resetSensors(); |