diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 9391b923ec..4f2c0ab78a 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -6648,6 +6648,17 @@ Value 0 + FSOpenSimAlwaysForceShowGrid + + Comment + Soft enable/disable the startup behaviour of OpenSim builds to allow gridlist access + Persist + 1 + Type + Boolean + Value + 1 + ForceMandatoryUpdate Comment diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 68d8e0cc83..9623545256 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2993,16 +2993,19 @@ bool LLAppViewer::initConfiguration() } // -// Set ForceShowGrid to TRUE on first run if we're on an OpenSim build -#ifdef OPENSIM - if (!gSavedSettings.getBOOL("ForceShowGrid")) - gSavedSettings.setBOOL("ForceShowGrid", TRUE); -#endif // OPENSIM -// gSavedSettings.setBOOL("FirstRunThisInstall", FALSE); } +// FIRE-29819 Set ForceShowGrid to TRUE always, unless expressly disabled +// FSOpenSimAlwaysForcesShowGrid is added to allow closed grids to soft disable the default behaviour +#if OPENSIM && !SINGLEGRID + if (!gSavedSettings.getBOOL("ForceShowGrid") && gSavedSettings.getBOOL("FSOpenSimAlwaysForceShowGrid")) + { + gSavedSettings.setBOOL("ForceShowGrid", TRUE); + } +#endif +// // Compatibility with old backups // Put gSavedSettings here, gSavedPerAccountSettings in llstartup.cpp // *TODO: Should we keep these around forever or just three release cycles?