diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-04-24 21:37:24 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-04-24 21:53:03 +0300 |
commit | e7a1ac5db84c6ec77053e5115c997236ae6bf0df (patch) | |
tree | 6fef426147166d7414922390916a66848277568c /indra/newview/llviewerinventory.cpp | |
parent | c9a025e3d0aee9a894f341c1eeb6b216bbe74a4c (diff) |
SL-19503 Deleting a thumbnail for folder does not remove thumbnail in viewer
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r-- | indra/newview/llviewerinventory.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index 8b0d14b3e9..96f0b500a0 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -1377,11 +1377,8 @@ void update_inventory_category( return; } - LLPointer<LLViewerInventoryCategory> new_cat = new LLViewerInventoryCategory(obj); - new_cat->fromLLSD(updates); - LLSD new_llsd = new_cat->asLLSD(); AISAPI::completion_t cr = boost::bind(&doInventoryCb, cb, _1); - AISAPI::UpdateCategory(cat_id, new_llsd, cr); + AISAPI::UpdateCategory(cat_id, updates, cr); } } |