[VMM] Fix the labels over labels issue

Reintroduces a searching bug, but only for marketplace top level folders
Arguably a better bug than what appears to be character corruption due
to labels drawing over each other.
This commit is contained in:
Lirusaito
2019-03-11 20:45:26 -04:00
parent 2b40e044c4
commit 7d97ebf581

View File

@@ -904,6 +904,9 @@ void LLFolderViewItem::draw()
const BOOL in_inventory = id && gInventory.isObjectDescendentOf(*id, gInventory.getRootFolderID());
const BOOL in_library = id && !in_inventory && gInventory.isObjectDescendentOf(*id, gInventory.getLibraryRootFolderID());
// Don't draw filtered top level marketplace folders
if (in_inventory && !getFiltered() && depth_nesting_in_marketplace(*id) == 1) return;
//--------------------------------------------------------------------------------//
// Draw open folder arrow
//