aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorArmin Weatherwax2010-09-13 20:47:57 +0200
committerMcCabe Maxsted2010-09-13 14:35:56 -0700
commitd4cbeb3505f7aa315a226e464d556ef64ae2079f (patch)
tree45ca0938d951d42f37a2eb2545eeecabdb670b3c /linden/indra/newview/llstartup.cpp
parentstay away from find_library! (diff)
downloadmeta-impy-d4cbeb3505f7aa315a226e464d556ef64ae2079f.zip
meta-impy-d4cbeb3505f7aa315a226e464d556ef64ae2079f.tar.gz
meta-impy-d4cbeb3505f7aa315a226e464d556ef64ae2079f.tar.bz2
meta-impy-d4cbeb3505f7aa315a226e464d556ef64ae2079f.tar.xz
Henri Beauchamp: use http map if possible. Fixes broken map in SL + http map possible for OS
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 606262f..4fd4daa 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -1127,6 +1127,7 @@ bool idle_startup()
1127 requested_options.push_back("buddy-list"); 1127 requested_options.push_back("buddy-list");
1128 requested_options.push_back("ui-config"); 1128 requested_options.push_back("ui-config");
1129#endif 1129#endif
1130 requested_options.push_back("map-server-url");
1130 requested_options.push_back("tutorial_setting"); 1131 requested_options.push_back("tutorial_setting");
1131 requested_options.push_back("login-flags"); 1132 requested_options.push_back("login-flags");
1132 requested_options.push_back("global-textures"); 1133 requested_options.push_back("global-textures");
@@ -1769,7 +1770,15 @@ bool idle_startup()
1769 LLStartUp::setShouldAutoLogin(false); 1770 LLStartUp::setShouldAutoLogin(false);
1770 show_connect_box = true; 1771 show_connect_box = true;
1771 } 1772 }
1772 1773
1774 std::string map_server_url = LLUserAuth::getInstance()->getResponse("map-server-url");
1775 if(!map_server_url.empty())
1776 {
1777 gSavedSettings.setString("MapServerURL", map_server_url);
1778 //llwarns << "MapServerURL" << map_server_url << llendl;
1779 }
1780 // else llwarns << "MapServerURL empty"<< llendl;
1781
1773 // Pass the user information to the voice chat server interface. 1782 // Pass the user information to the voice chat server interface.
1774 gVoiceClient->userAuthorized(firstname, lastname, gAgentID); 1783 gVoiceClient->userAuthorized(firstname, lastname, gAgentID);
1775 } 1784 }