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.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index aca3cac..ea08298 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -384,6 +384,11 @@ bool idle_startup()
384 // Initialize stuff that doesn't need data from simulators 384 // Initialize stuff that doesn't need data from simulators
385 // 385 //
386 386
387// [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-10 (RLVa-1.0.0g) | Modified: RLVa-0.2.1d
388 if ( (gSavedSettings.controlExists(RLV_SETTING_MAIN)) && (gSavedSettings.getBOOL(RLV_SETTING_MAIN)) )
389 rlv_handler_t::setEnabled(TRUE);
390// [/RLVa:KB]
391
387 if (LLFeatureManager::getInstance()->isSafe()) 392 if (LLFeatureManager::getInstance()->isSafe())
388 { 393 {
389 gViewerWindow->alertXml("DisplaySetToSafe"); 394 gViewerWindow->alertXml("DisplaySetToSafe");
@@ -924,6 +929,23 @@ bool idle_startup()
924 // their last location, or some URL "-url //sim/x/y[/z]" 929 // their last location, or some URL "-url //sim/x/y[/z]"
925 // All accounts have both a home and a last location, and we don't support 930 // All accounts have both a home and a last location, and we don't support
926 // more locations than that. Choose the appropriate one. JC 931 // more locations than that. Choose the appropriate one. JC
932// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | Modified: RLVa-0.2.1d
933 #ifndef RLV_EXTENSION_STARTLOCATION
934 if (rlv_handler_t::isEnabled())
935 #else
936 if ( (rlv_handler_t::isEnabled()) && (RlvSettings::getLoginLastLocation()) )
937 #endif // RLV_EXTENSION_STARTLOCATION
938 {
939 // Force login at the last location
940 agent_location_id = START_LOCATION_ID_LAST;
941 location_which = START_LOCATION_ID_LAST;
942 gSavedSettings.setBOOL("LoginLastLocation", FALSE);
943
944 // Clear some things that would cause us to divert to a user-specified location
945 LLURLSimString::setString(LLURLSimString::sLocationStringLast);
946 LLStartUp::sSLURLCommand.clear();
947 } else
948// [/RLVa:KB]
927 if (LLURLSimString::parse()) 949 if (LLURLSimString::parse())
928 { 950 {
929 // a startup URL was specified 951 // a startup URL was specified
@@ -1003,6 +1025,7 @@ bool idle_startup()
1003 requested_options.push_back("event_categories"); 1025 requested_options.push_back("event_categories");
1004 requested_options.push_back("event_notifications"); 1026 requested_options.push_back("event_notifications");
1005 requested_options.push_back("classified_categories"); 1027 requested_options.push_back("classified_categories");
1028 requested_options.push_back("adult_compliant");
1006 //requested_options.push_back("inventory-targets"); 1029 //requested_options.push_back("inventory-targets");
1007 requested_options.push_back("buddy-list"); 1030 requested_options.push_back("buddy-list");
1008 requested_options.push_back("ui-config"); 1031 requested_options.push_back("ui-config");
@@ -2462,6 +2485,10 @@ bool idle_startup()
2462 2485
2463 // Have the agent start watching the friends list so we can update proxies 2486 // Have the agent start watching the friends list so we can update proxies
2464 gAgent.observeFriends(); 2487 gAgent.observeFriends();
2488
2489 // Start loading inventory
2490 gInventory.startBackgroundFetch();
2491
2465 if (gSavedSettings.getBOOL("LoginAsGod")) 2492 if (gSavedSettings.getBOOL("LoginAsGod"))
2466 { 2493 {
2467 gAgent.requestEnterGodMode(); 2494 gAgent.requestEnterGodMode();