summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-03-01 11:29:11 -0800
committerRichard Linden <none@none>2011-03-01 11:29:11 -0800
commit0c655139bfb50aeadb94079b3340352a510fec5d (patch)
tree4698ce5bb012441c1c7de57a351a2fd523f18144
parentf23a2ae92fddea845171f7b8597271d988105198 (diff)
SOCIAL-529 WIP As a new user I want to enter SL by default in a minimal viewer (skylight)
Only clean installs get basic skin by default
-rw-r--r--indra/newview/llappviewer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 62f52e4b05..c47dcc11b2 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2168,6 +2168,11 @@ bool LLAppViewer::initConfiguration()
// - load overrides from user_settings
loadSettingsFromDirectory("User");
+ if (gSavedSettings.getBOOL("FirstRunThisInstall"))
+ {
+ gSavedSettings.setString("SessionSettingsFile", "settings_minimal.xml");
+ }
+
if (clp.hasOption("sessionsettings"))
{
std::string session_settings_filename = clp.getOption("sessionsettings")[0];