mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Automatically show HMD tools when switching an HMD plugin
This commit is contained in:
parent
986827aefe
commit
57408c4338
1 changed files with 3 additions and 0 deletions
|
@ -4590,6 +4590,9 @@ void Application::updateDisplayMode() {
|
|||
_offscreenContext->makeCurrent();
|
||||
offscreenUi->resize(fromGlm(newDisplayPlugin->getRecommendedUiSize()));
|
||||
_offscreenContext->makeCurrent();
|
||||
if (newDisplayPlugin->isHmd()) {
|
||||
showDisplayPluginsTools();
|
||||
}
|
||||
}
|
||||
|
||||
oldDisplayPlugin = _displayPlugin;
|
||||
|
|
Loading…
Reference in a new issue