SL-20109: display the inventory item asset ID and associated thumbnail ID (broken - all null UUID - for tomorrow)

meow-7.2.2
Callum Prentice 2023-08-01 17:38:15 -07:00
parent 4ce1463167
commit feb40d1a1b
2 changed files with 7 additions and 1 deletions

View File

@ -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");
}
}
}

View File

@ -30,6 +30,7 @@
#include "llfloater.h"
class LLTextEditor;
class LLUUID;
class LLFloaterBulkyThumbs:
public LLFloater