Fixed logic error in previous commit

Ansariel 2012-02-18 17:01:23 +01:00
parent 7ebdcd0bd3
commit b06295cd8f
2 changed files with 1 additions and 3 deletions

View File

@ -464,7 +464,7 @@ void LLInventoryFilter::setFilterEmptySystemFolders()
// <FS:Ansariel> Optional hiding of empty system folders
void LLInventoryFilter::removeFilterEmptySystemFolders()
{
mFilterOps.mFilterTypes &= FILTERTYPE_NO_EMPTYFOLDERS;
mFilterOps.mFilterTypes &= ~FILTERTYPE_EMPTYFOLDERS;
}
// </FS:Ansariel> Optional hiding of empty system folders

View File

@ -64,8 +64,6 @@ public:
FILTERTYPE_WEARABLE = 0x1 << 4, // search by wearable type
FILTERTYPE_EMPTYFOLDERS = 0x1 << 5, // pass if folder is not a system folder to be hidden if empty
FILTERTYPE_WORN = 0x1 << 6, // search by wearable type
FILTERTYPE_NO_EMPTYFOLDERS = (~0x0) & (0 << 5), // <FS:Ansariel> Filter to disable hidden system folder filtering
};
enum EFilterLink