summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryobserver.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-27 21:04:51 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-27 21:04:51 +0300
commitb00e2da9e23f4dad9c754ce479253ac07eeec154 (patch)
treedc1d30751f8c44c1e6348d5d5e2e9b621ee133eb /indra/newview/llinventoryobserver.cpp
parentf34576f42db17d59976ab1ebcd5b4c31f51f407e (diff)
SL-18003 Faster cof fetching
Diffstat (limited to 'indra/newview/llinventoryobserver.cpp')
-rw-r--r--indra/newview/llinventoryobserver.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp
index 79917fb11b..fe33be4abe 100644
--- a/indra/newview/llinventoryobserver.cpp
+++ b/indra/newview/llinventoryobserver.cpp
@@ -300,18 +300,7 @@ void LLInventoryFetchItemsObserver::startFetch()
if (aisv3)
{
- // doesn't support bulk fetching, request one by one
- if (owner_id == ALEXANDRIA_LINDEN_ID)
- {
- AISAPI::FetchItem(*it, AISAPI::LIBRARY);
- }
- else
- {
- AISAPI::FetchItem(*it, AISAPI::INVENTORY);
- }
- // Todo: remove item from mIncomplete on callback
- // but keep in mind that observer can expire before
- // callback or use LLInventoryModelBackgroundFetch
+ LLInventoryModelBackgroundFetch::getInstance()->start(*it);
}
else
{