From 4110307f28b0210311179b15bc4e85de3bdfbce0 Mon Sep 17 00:00:00 2001
From: Loren Shih <seraph@lindenlab.com>
Date: Mon, 16 Nov 2009 17:49:11 -0500
Subject: EXT-2527 : Allow contents of Appearance panel to be expandable

Changed the InventoryFilter logic slightly, so that if it's filtering by categories, it allows the contents of those categories to pass.

--HG--
branch : avatar-pipeline
---
 indra/newview/llinventoryfilter.cpp | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'indra')

diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp
index 7ec8d3d003..3e4b3327db 100644
--- a/indra/newview/llinventoryfilter.cpp
+++ b/indra/newview/llinventoryfilter.cpp
@@ -108,6 +108,10 @@ BOOL LLInventoryFilter::check(LLFolderViewItem* item)
 				passed_type |= ((1LL << cat->getPreferredType() & mFilterOps.mFilterTypes) != U64(0));
 			}
 		}
+		else
+		{
+			passed_type = TRUE;
+		}
 	}
 	else
 	{
-- 
cgit v1.2.3