SH-275 FIX: non-production grids now default to different source of map tiles

meow-7.2.2
Brad Payne (Vir Linden) 2010-11-12 17:31:27 -05:00
parent 853e90ea80
commit d9c0e0ba74
2 changed files with 5 additions and 0 deletions

0
indra/newview/app_settings/settings.xml Normal file → Executable file
View File

5
indra/newview/llstartup.cpp Normal file → Executable file
View File

@ -3071,6 +3071,11 @@ bool process_login_success_response()
}
// Request the map server url
// Non-agni grids have a different default location.
if (!LLGridManager::getInstance()->isInProductionGrid())
{
gSavedSettings.setString("MapServerURL", "http://test.map.secondlife.com.s3.amazonaws.com/");
}
std::string map_server_url = response["map-server-url"];
if(!map_server_url.empty())
{