EXP-1596 : Fetch system folders so we're sure they are empty if we need to hide them
parent
f5159294f1
commit
3001ad1a02
|
|
@ -217,6 +217,8 @@ BOOL LLInventoryFilter::checkAgainstFilterType(const LLFolderViewItem* item) con
|
|||
bool is_hidden_if_empty = LLViewerFolderType::lookupIsHiddenIfEmpty(listener->getPreferredType());
|
||||
if (is_hidden_if_empty)
|
||||
{
|
||||
// Force the fetching of those folders so they are hidden iff they really are empty...
|
||||
gInventory.fetchDescendentsOf(object_id);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue