From 57408c433817c3670ba0095adefc7e6e47dc56b1 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Sun, 9 Aug 2015 12:14:29 -0700 Subject: [PATCH] Automatically show HMD tools when switching an HMD plugin --- interface/src/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index aeb87bce40..af0b77328a 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4590,6 +4590,9 @@ void Application::updateDisplayMode() { _offscreenContext->makeCurrent(); offscreenUi->resize(fromGlm(newDisplayPlugin->getRecommendedUiSize())); _offscreenContext->makeCurrent(); + if (newDisplayPlugin->isHmd()) { + showDisplayPluginsTools(); + } } oldDisplayPlugin = _displayPlugin;