From d04a06e757a17807bb51203f62aa24690d13fedc Mon Sep 17 00:00:00 2001 From: amer cerkic Date: Tue, 9 Jul 2019 09:33:44 -0700 Subject: [PATCH] changing the default fallback to non hmd device --- interface/src/Application.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index f8dadcbc22..c8d86c1472 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -5409,9 +5409,10 @@ void Application::loadSettings() { if (_firstRun.get()) { // If this is our first run, and no preferred devices were set, default to // an HMD device if available. + // Based on feedback changing to non hmd device as default if not prefered auto displayPlugins = pluginManager->getDisplayPlugins(); for (auto& plugin : displayPlugins) { - if (plugin->isHmd()) { + if (!plugin->isHmd()) { if (auto action = menu->getActionForOption(plugin->getName())) { action->setChecked(true); action->trigger(); @@ -8891,7 +8892,7 @@ void Application::updateDisplayMode() { // Menu might have been removed if the display plugin lost if (!action) { continue; - } + } //STOPPED HERE>>>>> HOW DO WE FIND OUT HOW THE ACTION->isChecked is set if (action->isChecked()) { newDisplayPlugin = displayPlugin; break;