Automatically show HMD tools when switching an HMD plugin

This commit is contained in:
Brad Davis 2015-08-09 12:14:29 -07:00
parent 986827aefe
commit 57408c4338

View file

@ -4590,6 +4590,9 @@ void Application::updateDisplayMode() {
_offscreenContext->makeCurrent();
offscreenUi->resize(fromGlm(newDisplayPlugin->getRecommendedUiSize()));
_offscreenContext->makeCurrent();
if (newDisplayPlugin->isHmd()) {
showDisplayPluginsTools();
}
}
oldDisplayPlugin = _displayPlugin;