summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-31 01:19:58 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-03-31 01:19:58 +0300
commita2ef7c807659046d7201487029a969d396eea89d (patch)
tree125f4f03464bf6bfa72ef31164e502b92b0bf017 /indra/newview/llinventorymodel.cpp
parent16712d2437f58159153d951639a9ac9bc1e8509a (diff)
SL-18672 Update handling of login skeleton to handle new fields
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 360cc44d48..80f16a854b 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -2600,6 +2600,12 @@ bool LLInventoryModel::loadSkeleton(
cat->setUUID(folder_id.asUUID());
cat->setParent(parent_id.asUUID());
+ LLSD thumbnail = (*it)["thumbnail"];
+ if (thumbnail.isMap())
+ {
+ cat->setThumbnailUUID(thumbnail["asset_id"].asUUID());
+ }
+
LLFolderType::EType preferred_type = LLFolderType::FT_NONE;
LLSD type_default = (*it)["type_default"];
if(type_default.isDefined())