summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorygallery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorygallery.cpp')
-rw-r--r--indra/newview/llinventorygallery.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp
index b964ecff05..c3e06fafc5 100644
--- a/indra/newview/llinventorygallery.cpp
+++ b/indra/newview/llinventorygallery.cpp
@@ -613,6 +613,12 @@ void LLInventoryGallery::applyFilter(LLInventoryGalleryItem* item, const std::st
return;
}
+ if(!mFilter->checkAgainstFilterThumbnails(item->getUUID()))
+ {
+ item->setHidden(true);
+ return;
+ }
+
if(!checkAgainstFilterType(item->getUUID()))
{
item->setHidden(true);