SL-19496 Recent server change requires thumbnail ids to be passed as strings

master
Andrey Kleshchev 2023-04-12 20:06:23 +03:00
parent 8b1a7085be
commit c6d2bf93c0
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{