diff options
| author | RunitaiLinden <davep@lindenlab.com> | 2024-01-10 13:50:31 -0600 |
|---|---|---|
| committer | RunitaiLinden <davep@lindenlab.com> | 2024-01-10 13:50:31 -0600 |
| commit | bce1434d03b780597f28be4334b5218ae1508df9 (patch) | |
| tree | bb7f6e97230cae84a7ba3dafdaf0061a5934f7c1 /indra/newview/llinventoryfunctions.cpp | |
| parent | fab4cfbab26948fbec9015bd2ba1e8b05c3cd9e3 (diff) | |
| parent | 5443a18ba654609f4a5086e3561b9085669d16c4 (diff) | |
Merge branch 'DRTVWR-601' of github.com:secondlife/viewer into DRTVWR-601
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); |
