summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-25 19:26:58 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-25 19:26:58 +0300
commitc382d4e9756ec407188afcd94a64a07cd883bba1 (patch)
tree25793e9cc7f8411eed8f3d2a5dfd3f54342b585d /indra/newview
parent3d73a10da3e051b232b4ddc89c1463a8b097ca7f (diff)
SL-20199 Error creating new folder
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index a41ab4eec3..ea771661ec 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1029,7 +1029,7 @@ void LLInventoryModel::createNewCategory(const LLUUID& parent_id,
new_inventory["categories"] = LLSD::emptyArray();
LLViewerInventoryCategory cat(LLUUID::null, parent_id, preferred_type, name, gAgent.getID());
cat.setThumbnailUUID(thumbnail_id);
- LLSD cat_sd = cat.asAISLLSD();
+ LLSD cat_sd = cat.asAISCreateCatLLSD();
new_inventory["categories"].append(cat_sd);
AISAPI::CreateInventory(
parent_id,