summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-24 21:37:24 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-24 21:53:03 +0300
commite7a1ac5db84c6ec77053e5115c997236ae6bf0df (patch)
tree6fef426147166d7414922390916a66848277568c /indra/llinventory
parentc9a025e3d0aee9a894f341c1eeb6b216bbe74a4c (diff)
SL-19503 Deleting a thumbnail for folder does not remove thumbnail in viewer
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llinventory.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp
index ef86d2d89b..81ace2a5a8 100644
--- a/indra/llinventory/llinventory.cpp
+++ b/indra/llinventory/llinventory.cpp
@@ -1120,11 +1120,7 @@ LLSD LLInventoryCategory::asAISLLSD() const
S8 type = static_cast<S8>(mPreferredType);
sd[INV_ASSET_TYPE_LABEL_WS] = type;
sd[INV_NAME_LABEL] = mName;
-
- if (mThumbnailUUID.notNull())
- {
- sd[INV_THUMBNAIL_LABEL] = LLSD().with(INV_ASSET_ID_LABEL, mThumbnailUUID);
- }
+ sd[INV_THUMBNAIL_LABEL] = LLSD().with(INV_ASSET_ID_LABEL, mThumbnailUUID);
return sd;
}