Always start with full bitmask for worn inventory panel filter

Ansariel 2015-01-22 20:55:06 +01:00
parent cb044d9981
commit e80bc5544a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ BOOL LLPanelMainInventory::postBuild()
worn_items_panel->setSortOrder(gSavedSettings.getU32(LLInventoryPanel::DEFAULT_SORT_ORDER));
worn_items_panel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS);
LLInventoryFilter& worn_filter = worn_items_panel->getFilter();
worn_filter.setFilterObjectTypes(worn_filter.getFilterObjectTypes() & ~(0x1 << LLInventoryType::IT_GESTURE | 0x1 << LLInventoryType::IT_CATEGORY));
worn_filter.setFilterObjectTypes(0xffffffffffffffffULL & ~(0x1 << LLInventoryType::IT_GESTURE | 0x1 << LLInventoryType::IT_CATEGORY));
worn_filter.markDefault();
// <FS:ND> Do not go all crazy and recurse through the whole inventory