From f844dcd25f8dc0a92936450b2fc3730392a596c1 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Tue, 12 May 2015 09:05:24 -0700 Subject: [PATCH] Only display new menu in VR mode --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 7334222b96..596f9bd30f 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1366,12 +1366,12 @@ void Application::keyPressEvent(QKeyEvent* event) { } -//#define VR_MENU_ONLY_IN_HMD +#define VR_MENU_ONLY_IN_HMD void Application::keyReleaseEvent(QKeyEvent* event) { if (event->key() == Qt::Key_Alt && _altPressed && _window->isActiveWindow()) { #ifdef VR_MENU_ONLY_IN_HMD - if (OculusManager::isConnected()) { + if (isHMDMode()) { #endif VrMenu::toggle(); #ifdef VR_MENU_ONLY_IN_HMD