summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2023-08-01 17:38:15 -0700
committerCallum Prentice <callum@lindenlab.com>2023-08-01 17:38:15 -0700
commitfeb40d1a1b53de09ef619d0d681bf03e0ceaa2eb (patch)
tree370d7e621c1b862b7f28068cd4f27744cd034045 /indra/newview
parent4ce14631678195d7256e11a02f646396e3bc2dd8 (diff)
SL-20109: display the inventory item asset ID and associated thumbnail ID (broken - all null UUID - for tomorrow)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterbulkythumbs.cpp7
-rw-r--r--indra/newview/llfloaterbulkythumbs.h1
2 files changed, 7 insertions, 1 deletions
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