summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-12 20:06:23 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-12 20:06:23 +0300
commitc6d2bf93c02c6099f4c86a3379c3e82e21f9f37e (patch)
treecccdf9864a3e3d8c0efbe01766e0e9f648cbb1d5 /indra/newview
parent8b1a7085be07704a58e169d1133fc356a1745c74 (diff)
SL-19496 Recent server change requires thumbnail ids to be passed as strings
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterchangeitemthumbnail.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.cpp b/indra/newview/llfloaterchangeitemthumbnail.cpp
index 099ceea821..4249ae9305 100644
--- a/indra/newview/llfloaterchangeitemthumbnail.cpp
+++ b/indra/newview/llfloaterchangeitemthumbnail.cpp
@@ -740,7 +740,8 @@ void LLFloaterChangeItemThumbnail::setThumbnailId(const LLUUID &new_thumbnail_id
else if (obj->getThumbnailUUID() != new_thumbnail_id)
{
LLSD updates;
- updates["thumbnail"] = LLSD().with("asset_id", new_thumbnail_id);
+ // At the moment server expects id as a string
+ updates["thumbnail"] = LLSD().with("asset_id", new_thumbnail_id.asString());
LLViewerInventoryCategory* view_folder = dynamic_cast<LLViewerInventoryCategory*>(obj);
if (view_folder)
{