aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 8f9b728..ffd7f3d 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -394,6 +394,11 @@ bool idle_startup()
394 // Initialize stuff that doesn't need data from simulators 394 // Initialize stuff that doesn't need data from simulators
395 // 395 //
396 396
397// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-10 (RLVa-1.0.0g) | Modified: RLVa-0.2.1d
398 if ( (gSavedSettings.controlExists(RLV_SETTING_MAIN)) && (gSavedSettings.getBOOL(RLV_SETTING_MAIN)) )
399 rlv_handler_t::setEnabled(TRUE);
400// [/RLVa:KB]
401
397 if (LLFeatureManager::getInstance()->isSafe()) 402 if (LLFeatureManager::getInstance()->isSafe())
398 { 403 {
399 gViewerWindow->alertXml("DisplaySetToSafe"); 404 gViewerWindow->alertXml("DisplaySetToSafe");
@@ -954,6 +959,23 @@ bool idle_startup()
954 // their last location, or some URL "-url //sim/x/y[/z]" 959 // their last location, or some URL "-url //sim/x/y[/z]"
955 // All accounts have both a home and a last location, and we don't support 960 // All accounts have both a home and a last location, and we don't support
956 // more locations than that. Choose the appropriate one. JC 961 // more locations than that. Choose the appropriate one. JC
962// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | Modified: RLVa-0.2.1d
963 #ifndef RLV_EXTENSION_STARTLOCATION
964 if (rlv_handler_t::isEnabled())
965 #else
966 if ( (rlv_handler_t::isEnabled()) && (RlvSettings::getLoginLastLocation()) )
967 #endif // RLV_EXTENSION_STARTLOCATION
968 {
969 // Force login at the last location
970 agent_location_id = START_LOCATION_ID_LAST;
971 location_which = START_LOCATION_ID_LAST;
972 gSavedSettings.setBOOL("LoginLastLocation", FALSE);
973
974 // Clear some things that would cause us to divert to a user-specified location
975 LLURLSimString::setString(LLURLSimString::sLocationStringLast);
976 LLStartUp::sSLURLCommand.clear();
977 } else
978// [/RLVa:KB]
957 if (LLURLSimString::parse()) 979 if (LLURLSimString::parse())
958 { 980 {
959 // a startup URL was specified 981 // a startup URL was specified
@@ -2541,6 +2563,10 @@ bool idle_startup()
2541 2563
2542 // Have the agent start watching the friends list so we can update proxies 2564 // Have the agent start watching the friends list so we can update proxies
2543 gAgent.observeFriends(); 2565 gAgent.observeFriends();
2566
2567 // Start loading inventory
2568 gInventory.startBackgroundFetch();
2569
2544 if (gSavedSettings.getBOOL("LoginAsGod")) 2570 if (gSavedSettings.getBOOL("LoginAsGod"))
2545 { 2571 {
2546 gAgent.requestEnterGodMode(); 2572 gAgent.requestEnterGodMode();