diff options
author | McCabe Maxsted | 2011-05-10 13:39:41 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-06-08 22:00:52 -0700 |
commit | 0517495bf6caedc08fc7ae45cefc6a1a2cb8fe62 (patch) | |
tree | 0804f0eb3092426b3c3469f2d77f4a0f4b32e8db /linden/indra/newview/llstartup.cpp | |
parent | Committing fix for #0000302: inventory reloads on every login. Needs more tes... (diff) | |
download | meta-impy-0517495bf6caedc08fc7ae45cefc6a1a2cb8fe62.zip meta-impy-0517495bf6caedc08fc7ae45cefc6a1a2cb8fe62.tar.gz meta-impy-0517495bf6caedc08fc7ae45cefc6a1a2cb8fe62.tar.bz2 meta-impy-0517495bf6caedc08fc7ae45cefc6a1a2cb8fe62.tar.xz |
Now that the cache persists, start background fetching on login. We begin with the Animations folder uuid sent in the skeleton to hopefully make the AO work as soon as possible
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 083a082..a2ed9fc 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -2450,6 +2450,18 @@ bool idle_startup() | |||
2450 | } | 2450 | } |
2451 | } | 2451 | } |
2452 | 2452 | ||
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 | ||
2455 | // silly "AO" acronym -- MC | ||
2456 | if (gInventory.getAnimationsFolderUUID() != LLUUID::null) | ||
2457 | { | ||
2458 | gInventory.startBackgroundFetch(gInventory.getAnimationsFolderUUID()); | ||
2459 | } | ||
2460 | else | ||
2461 | { | ||
2462 | gInventory.startBackgroundFetch(); | ||
2463 | } | ||
2464 | |||
2453 | options.clear(); | 2465 | options.clear(); |
2454 | if(LLUserAuth::getInstance()->getOptions("buddy-list", options)) | 2466 | if(LLUserAuth::getInstance()->getOptions("buddy-list", options)) |
2455 | { | 2467 | { |