diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-21 17:47:26 +0200 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-21 17:47:26 +0200 |
commit | 1eab3247111e66a3b81153173d1624a5c1c9fb72 (patch) | |
tree | 3d5cfd8a5ee3bca5194fad8a9f27d519884e844e /indra/newview/llinventoryfunctions.cpp | |
parent | b68a67491026a055f0de9df349508b9e60a200ed (diff) |
SL-19379 WIP Gallery view Inventory: first pass
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index dd116ce2d2..68722e91b3 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -2352,6 +2352,11 @@ void LLFindWearablesOfType::setType(LLWearableType::EType type) mWearableType = type; } +bool LLIsTextureType::operator()(LLInventoryCategory* cat, LLInventoryItem* item) +{ + return item && (item->getType() == LLAssetType::AT_TEXTURE); +} + bool LLFindNonRemovableObjects::operator()(LLInventoryCategory* cat, LLInventoryItem* item) { if (item) |