diff options
author | McCabe Maxsted | 2011-06-08 22:19:20 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-06-08 22:19:20 -0700 |
commit | 890ae756b4b694ee84d70813cbe166933876541a (patch) | |
tree | 1f0c60ba0099ddd5fc0dc565e9aad30182360140 | |
parent | Committing some more useful debugging lines (diff) | |
download | meta-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
-rw-r--r-- | linden/indra/newview/app_settings/settings.xml | 4 | ||||
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 22 |
2 files changed, 12 insertions, 14 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index e571988..57c2065 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -512,7 +512,7 @@ | |||
512 | <key>Value</key> | 512 | <key>Value</key> |
513 | <integer>1</integer> | 513 | <integer>1</integer> |
514 | </map> | 514 | </map> |
515 | <key>FetchInventoryOnLogin</key> | 515 | <key>FetchInventoryOnLogin2</key> |
516 | <map> | 516 | <map> |
517 | <key>Comment</key> | 517 | <key>Comment</key> |
518 | <string>Automatically fetch the inventory in the background after login (has issues)</string> | 518 | <string>Automatically fetch the inventory in the background after login (has issues)</string> |
@@ -521,7 +521,7 @@ | |||
521 | <key>Type</key> | 521 | <key>Type</key> |
522 | <string>Boolean</string> | 522 | <string>Boolean</string> |
523 | <key>Value</key> | 523 | <key>Value</key> |
524 | <integer>0</integer> | 524 | <integer>1</integer> |
525 | </map> | 525 | </map> |
526 | <key>FloaterAnimationListRect</key> | 526 | <key>FloaterAnimationListRect</key> |
527 | <map> | 527 | <map> |
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(); |