diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-03-28 11:05:36 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-03-28 11:05:36 +0800 |
commit | 1a4517e5af8f43433fc2547658615dce4073d9a3 (patch) | |
tree | 7a2dd9d392e7651674f17e342b44461ab47e5327 /indra/newview/llinventoryfunctions.cpp | |
parent | 9f20741e02491e009090211ac29bd37c31369378 (diff) | |
parent | c810a409e22b90ebacb9946f8a4084ef0ad78d64 (diff) |
Merge tag '7.1.4-release'
source for viewer 7.1.4.8149792635
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 4aeacae6ed..207dd692a8 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -2554,6 +2554,12 @@ bool LLIsOfAssetType::operator()(LLInventoryCategory* cat, LLInventoryItem* item return FALSE; } +bool LLAssetIDAndTypeMatches::operator()(LLInventoryCategory* cat, LLInventoryItem* item) +{ + if (!item) return false; + return (item->getActualType() == mType && item->getAssetUUID() == mAssetID); +} + bool LLIsValidItemLink::operator()(LLInventoryCategory* cat, LLInventoryItem* item) { LLViewerInventoryItem *vitem = dynamic_cast<LLViewerInventoryItem*>(item); |