MAINT-3150 FIXED Show folder links that were always hidden by inventory filter.

Mnikolenko ProductEngine 2013-09-30 14:46:05 +03:00
parent 01a7002228
commit bc244a723d
1 changed files with 8 additions and 1 deletions

View File

@ -139,7 +139,14 @@ bool LLInventoryFilter::checkFolder(const LLUUID& folder_id) const
{
return passed_clipboard;
}
// show folder links
LLViewerInventoryItem* item = gInventory.getItem(folder_id);
if (item && item->getActualType() == LLAssetType::AT_LINK_FOLDER)
{
return passed_clipboard;
}
if (mFilterOps.mFilterTypes & FILTERTYPE_CATEGORY)
{
// Can only filter categories for items in your inventory