From dd699f84c92020868656a2ad8086a73372e5a19d Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Sat, 5 Aug 2023 02:05:11 +0300
Subject: [PATCH] SL-20120 Do not account for deltas when fetching

Is supposed to set version and descendant info in parseCategory
---
 indra/newview/llaisapi.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index f26549cc3d0..34c6a1e8ab2 100644
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -1210,7 +1210,6 @@ void AISUpdate::parseItem(const LLSD& item_map)
         if (mFetch)
         {
             mItemsCreated[item_id] = new_item;
-            mCatDescendentDeltas[new_item->getParentUUID()];
             new_item->setComplete(true);
 
             if (new_item->getParentUUID().isNull())
@@ -1264,7 +1263,6 @@ void AISUpdate::parseLink(const LLSD& link_map, S32 depth)
             new_link->setSaleInfo(default_sale_info);
             //LL_DEBUGS("Inventory") << "creating link from llsd: " << ll_pretty_print_sd(link_map) << LL_ENDL;
             mItemsCreated[item_id] = new_link;
-            mCatDescendentDeltas[parent_id];
             new_link->setComplete(true);
 
             if (new_link->getParentUUID().isNull())
@@ -1381,7 +1379,6 @@ void AISUpdate::parseCategory(const LLSD& category_map, S32 depth)
                 new_cat->setDescendentCount(descendent_count);
             }
             mCategoriesCreated[category_id] = new_cat;
-            mCatDescendentDeltas[new_cat->getParentUUID()];
         }
 		else if (curr_cat)
 		{
-- 
GitLab