From feb40d1a1b53de09ef619d0d681bf03e0ceaa2eb Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Tue, 1 Aug 2023 17:38:15 -0700 Subject: SL-20109: display the inventory item asset ID and associated thumbnail ID (broken - all null UUID - for tomorrow) --- indra/newview/llfloaterbulkythumbs.cpp | 7 ++++++- indra/newview/llfloaterbulkythumbs.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterbulkythumbs.cpp b/indra/newview/llfloaterbulkythumbs.cpp index 4392d1a906..64661c6b40 100644 --- a/indra/newview/llfloaterbulkythumbs.cpp +++ b/indra/newview/llfloaterbulkythumbs.cpp @@ -37,6 +37,7 @@ #include "llclipboard.h" #include "llinventorymodel.h" #include "lltexteditor.h" +#include "lluuid.h" LLFloaterBulkyThumbs::LLFloaterBulkyThumbs(const LLSD& key) : LLFloater("floater_bulky_thumbs") @@ -88,7 +89,11 @@ void LLFloaterBulkyThumbs::onPasteFromInventory() { if (item->getType() == LLAssetType::AT_OBJECT) { - mInventoryItems->appendText(item->getName(), "\n"); + const std::string name = item->getName(); + const std::string item_asset_uuid_str = item->getAssetUUID().asString(); + const std::string thumb_uuid_str = item->getThumbnailUUID().asString(); + const std::string output_line = name + "|" + item_asset_uuid_str + "|" + thumb_uuid_str; + mInventoryItems->appendText(output_line, "\n"); } } } diff --git a/indra/newview/llfloaterbulkythumbs.h b/indra/newview/llfloaterbulkythumbs.h index 6d43ff9bc6..fbfc95f11b 100644 --- a/indra/newview/llfloaterbulkythumbs.h +++ b/indra/newview/llfloaterbulkythumbs.h @@ -30,6 +30,7 @@ #include "llfloater.h" class LLTextEditor; +class LLUUID; class LLFloaterBulkyThumbs: public LLFloater -- cgit v1.2.3