Skip to content
Snippets Groups Projects
Commit feb40d1a authored by Callum Prentice's avatar Callum Prentice
Browse files

SL-20109: display the inventory item asset ID and associated thumbnail ID...

SL-20109: display the inventory item asset ID and associated thumbnail ID (broken - all null UUID - for tomorrow)
parent 4ce14631
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
}
}
......
......@@ -30,6 +30,7 @@
#include "llfloater.h"
class LLTextEditor;
class LLUUID;
class LLFloaterBulkyThumbs:
public LLFloater
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment