summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-21 17:47:26 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-21 17:47:26 +0200
commit1eab3247111e66a3b81153173d1624a5c1c9fb72 (patch)
tree3d5cfd8a5ee3bca5194fad8a9f27d519884e844e /indra/newview/llinventoryfunctions.cpp
parentb68a67491026a055f0de9df349508b9e60a200ed (diff)
SL-19379 WIP Gallery view Inventory: first pass
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp5
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)