summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-08-07 14:26:33 -0700
committerCosmic Linden <cosmic@lindenlab.com>2023-08-11 16:31:01 -0700
commit76c8cca9363c0ef55bf66a2bbff4a86a02f37acf (patch)
tree9cfc97ccb55239bc8963ac8a4442d14e7df271ab /indra/newview/llviewerobject.h
parent6c8ced0edd9e2b86914e3e316ba65ae9492d3e6f (diff)
SL-20024: Fix author attributions not transferring for saved object materials, fix item not renamed
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r--indra/newview/llviewerobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h
index 3665c64965..ff28937f81 100644
--- a/indra/newview/llviewerobject.h
+++ b/indra/newview/llviewerobject.h
@@ -494,6 +494,8 @@ public:
void updateInventoryLocal(LLInventoryItem* item, U8 key); // Update without messaging.
void updateMaterialInventory(LLViewerInventoryItem* item, U8 key, bool is_new);
LLInventoryObject* getInventoryObject(const LLUUID& item_id);
+ // TODO: Decide if this is worth keeping - Returns NULL if item does not exist or is a category
+ LLInventoryItem* getInventoryItem(const LLUUID& item_id);
// Get content except for root category
void getInventoryContents(LLInventoryObject::object_list_t& objects);