aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-08 15:29:02 -0600
committerJacek Antonelli2008-12-08 15:29:02 -0600
commit28bb7ba42fb8d9ea17810079749f37b5653b5626 (patch)
treed1e080a79f7968c7f8f9e3d785fabff0666a28d5 /linden
parentLLInvFVBridge and derived classes have NTypes. (diff)
downloadmeta-impy-28bb7ba42fb8d9ea17810079749f37b5653b5626.zip
meta-impy-28bb7ba42fb8d9ea17810079749f37b5653b5626.tar.gz
meta-impy-28bb7ba42fb8d9ea17810079749f37b5653b5626.tar.bz2
meta-impy-28bb7ba42fb8d9ea17810079749f37b5653b5626.tar.xz
Inventory filtering is now done by NType.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp
index 8cefd5b..3f36222 100644
--- a/linden/indra/newview/llfolderview.cpp
+++ b/linden/indra/newview/llfolderview.cpp
@@ -4522,7 +4522,7 @@ BOOL LLInventoryFilter::check(LLFolderViewItem* item)
4522 } 4522 }
4523 LLFolderViewEventListener* listener = item->getListener(); 4523 LLFolderViewEventListener* listener = item->getListener();
4524 mSubStringMatchOffset = mFilterSubString.size() ? item->getSearchableLabel().find(mFilterSubString) : std::string::npos; 4524 mSubStringMatchOffset = mFilterSubString.size() ? item->getSearchableLabel().find(mFilterSubString) : std::string::npos;
4525 BOOL passed = (0x1 << listener->getInventoryType() & mFilterOps.mFilterTypes || listener->getInventoryType() == LLInventoryType::IT_NONE) 4525 BOOL passed = (listener->getNInventoryType() & mFilterOps.mFilterTypes || listener->getNInventoryType() == LLInventoryType::NIT_NONE)
4526 && (mFilterSubString.size() == 0 || mSubStringMatchOffset != std::string::npos) 4526 && (mFilterSubString.size() == 0 || mSubStringMatchOffset != std::string::npos)
4527 && ((listener->getPermissionMask() & mFilterOps.mPermissions) == mFilterOps.mPermissions) 4527 && ((listener->getPermissionMask() & mFilterOps.mPermissions) == mFilterOps.mPermissions)
4528 && (listener->getCreationDate() >= earliest && listener->getCreationDate() <= mFilterOps.mMaxDate); 4528 && (listener->getCreationDate() >= earliest && listener->getCreationDate() <= mFilterOps.mMaxDate);