MAINT-4218 Adding clothing from inventory closes THAT clothing folder and hides THAT folder

fixed issue with 'yet to be started filter' and 'dirty-visible' item.
meow-7.2.2
andreykproductengine 2014-07-30 18:39:50 +03:00
parent 4cb5bad705
commit f1c43f14b3
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ BOOL LLFolderViewItem::isPotentiallyVisible(S32 filter_generation)
// 3. item was recently updated and was visible before update
LLFolderViewModelItem* model = getViewModelItem();
if (model->getLastFilterGeneration() < 0)
if (model->getLastFilterGeneration() < 0 && !getFolderViewModel()->getFilter().isModified())
{
return model->descendantsPassedFilter(filter_generation) || getVisible();
}