From 7d97ebf58100ca2d067a2089720c49085cd21b30 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Mon, 11 Mar 2019 20:45:26 -0400 Subject: [PATCH] [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. --- indra/newview/llfolderviewitem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 87340e1df..1f87716f2 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -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 //