summaryrefslogtreecommitdiff
path: root/indra/newview/llviewernetwork.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-04-21 00:17:58 -0700
committerRoxie Linden <roxie@lindenlab.com>2010-04-21 00:17:58 -0700
commit9fdba53b09193290ab33fc6aa414329d126505ed (patch)
tree5c10edf86a7904ced900d7217658bc044634d2ed /indra/newview/llviewernetwork.cpp
parent6823879c1ad2260e553bc6a641975ca478848f3b (diff)
Show beta grids depending on a settings.xml setting. for SLE, this will be turned off. For trunk, it's turned on.
Also, fixed an issue with manual entry of locations into the location dropdown.
Diffstat (limited to 'indra/newview/llviewernetwork.cpp')
-rw-r--r--indra/newview/llviewernetwork.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/indra/newview/llviewernetwork.cpp b/indra/newview/llviewernetwork.cpp
index d7bb4efe85..2673ba4e17 100644
--- a/indra/newview/llviewernetwork.cpp
+++ b/indra/newview/llviewernetwork.cpp
@@ -92,20 +92,11 @@ void LLGridManager::initialize(const std::string& grid_file)
-#ifndef LL_RELEASE_FOR_DOWNLOAD
- addSystemGrid("Agni",
+ addSystemGrid("Secondlife.com (Agni)",
MAINGRID,
"https://login.agni.lindenlab.com/cgi-bin/login.cgi",
"https://secondlife.com/helpers/",
DEFAULT_LOGIN_PAGE);
-#else
- addSystemGrid("Secondlife.com",
- MAINGRID,
- "https://login.agni.lindenlab.com/cgi-bin/login.cgi",
- "https://secondlife.com/helpers/",
- DEFAULT_LOGIN_PAGE,
- "Agni");
-#endif // LL_RELEASE_FOR_DOWNLOAD
addSystemGrid("Aditi",
"util.aditi.lindenlab.com",
"https://login.aditi.lindenlab.com/cgi-bin/login.cgi",
@@ -313,11 +304,7 @@ void LLGridManager::initialize(const std::string& grid_file)
// the grid name was empty, or the grid isn't actually in the list, then set it to the
// appropriate default.
LL_INFOS("GridManager") << "Resetting grid as grid name " << mGrid << " is not in the list" << LL_ENDL;
-#if LL_RELEASE_FOR_DOWNLOAD
mGrid = MAINGRID;
-#else
- mGrid = "";
-#endif
}
LL_INFOS("GridManager") << "Selected grid is " << mGrid << LL_ENDL;
gSavedSettings.setString("CurrentGrid", mGrid);
@@ -418,7 +405,7 @@ void LLGridManager::addSystemGrid(const std::string& label,
}
else
{
- grid[GRID_SLURL_BASE] = llformat(SYSTEM_GRID_SLURL_BASE, label.c_str());
+ grid[GRID_SLURL_BASE] = llformat(SYSTEM_GRID_SLURL_BASE, label.c_str());
}
addGrid(grid);
}