aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-06-08 22:19:20 -0700
committerMcCabe Maxsted2011-06-08 22:19:20 -0700
commit890ae756b4b694ee84d70813cbe166933876541a (patch)
tree1f0c60ba0099ddd5fc0dc565e9aad30182360140 /linden/indra/newview/llstartup.cpp
parentCommitting some more useful debugging lines (diff)
downloadmeta-impy-890ae756b4b694ee84d70813cbe166933876541a.zip
meta-impy-890ae756b4b694ee84d70813cbe166933876541a.tar.gz
meta-impy-890ae756b4b694ee84d70813cbe166933876541a.tar.bz2
meta-impy-890ae756b4b694ee84d70813cbe166933876541a.tar.xz
Re-enabled fetchinventoryonlogin setting and renamed it to fetchinventoryonlogin2 so it's enabled for users of previous versions
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 922cfa3..3b8215b 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -2453,13 +2453,17 @@ bool idle_startup()
2453 // start background fetching for animations here in case the cache is empty. 2453 // start background fetching for animations here in case the cache is empty.
2454 // We do this to improve AO support (that's Animatoni Overrider, not LL's 2454 // We do this to improve AO support (that's Animatoni Overrider, not LL's
2455 // silly "AO" acronym -- MC 2455 // silly "AO" acronym -- MC
2456 if (gInventory.getAnimationsFolderUUID() != LLUUID::null) 2456 if (gSavedSettings.getBOOL("FetchInventoryOnLogin2"))
2457 { 2457 {
2458 gInventory.startBackgroundFetch(gInventory.getAnimationsFolderUUID()); 2458 // Start loading inventory
2459 } 2459 if (gInventory.getAnimationsFolderUUID() != LLUUID::null)
2460 else 2460 {
2461 { 2461 gInventory.startBackgroundFetch(gInventory.getAnimationsFolderUUID());
2462 gInventory.startBackgroundFetch(); 2462 }
2463 else
2464 {
2465 gInventory.startBackgroundFetch();
2466 }
2463 } 2467 }
2464 2468
2465 options.clear(); 2469 options.clear();
@@ -2948,12 +2952,6 @@ bool idle_startup()
2948 // Have the agent start watching the friends list so we can update proxies 2952 // Have the agent start watching the friends list so we can update proxies
2949 gAgent.observeFriends(); 2953 gAgent.observeFriends();
2950 2954
2951 if (gSavedSettings.getBOOL("FetchInventoryOnLogin"))
2952 {
2953 // Start loading inventory
2954 gInventory.startBackgroundFetch();
2955 }
2956
2957 if (gSavedSettings.getBOOL("LoginAsGod")) 2955 if (gSavedSettings.getBOOL("LoginAsGod"))
2958 { 2956 {
2959 gAgent.requestEnterGodMode(); 2957 gAgent.requestEnterGodMode();