From e95dd3c2bd7585f6b588a395496953abd59e60c1 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 27 Jun 2020 12:32:57 +1200 Subject: [PATCH] Fix Settings > Calibration dialog not functioning when HIFI_DEBUG_OPENVR --- plugins/openvr/src/ViveControllerManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/openvr/src/ViveControllerManager.cpp b/plugins/openvr/src/ViveControllerManager.cpp index 2c9eb296ab..a2312b3247 100644 --- a/plugins/openvr/src/ViveControllerManager.cpp +++ b/plugins/openvr/src/ViveControllerManager.cpp @@ -863,6 +863,9 @@ void ViveControllerManager::InputDevice::update(float deltaTime, const controlle if (_headsetName == "HTC") { _headsetName += " Vive"; } + if (oculusViaOpenVR()) { + _headsetName = "OpenVR"; // Enables calibration dialog to function when debugging using Oculus. + } } // While the keyboard is open, we defer strictly to the keyboard values if (isOpenVrKeyboardShown()) {