summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-09-29 12:37:57 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-09-29 12:37:57 +0300
commit391500b5f7f2fb251acdd192d80e1da7eea02c4c (patch)
tree6292f832fcce43db2dce3baf178579d7f4dca1e9 /indra/newview/llappviewer.cpp
parent89057746316affe2fef7314624942fa43085d6b6 (diff)
SL-16034 Disable all displays and UI in noninteractive mode
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 5413045e7a..9a8b773a66 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2632,9 +2632,10 @@ bool LLAppViewer::initConfiguration()
disableCrashlogger();
}
+ gNonInteractive = gSavedSettings.getBOOL("NonInteractive");
// Handle initialization from settings.
// Start up the debugging console before handling other options.
- if (gSavedSettings.getBOOL("ShowConsoleWindow"))
+ if (gSavedSettings.getBOOL("ShowConsoleWindow") && !gNonInteractive)
{
initConsole();
}
@@ -2755,7 +2756,6 @@ bool LLAppViewer::initConfiguration()
}
}
- gNonInteractive = gSavedSettings.getBOOL("NonInteractive");
if (gNonInteractive)
{
tempSetControl("SLURLPassToOtherInstance", "FALSE");