From a9956c4a1f8d2aaaa513e100d954609f2b151baa Mon Sep 17 00:00:00 2001
From: Jacek Antonelli
Date: Fri, 16 Jan 2009 19:40:41 -0600
Subject: Fixed Resident chooser not showing calling cards.

---
 linden/indra/newview/llfloateravatarpicker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'linden/indra')

diff --git a/linden/indra/newview/llfloateravatarpicker.cpp b/linden/indra/newview/llfloateravatarpicker.cpp
index da1b9b7..216eea7 100644
--- a/linden/indra/newview/llfloateravatarpicker.cpp
+++ b/linden/indra/newview/llfloateravatarpicker.cpp
@@ -118,7 +118,7 @@ BOOL LLFloaterAvatarPicker::postBuild()
 	mInventoryPanel = getChild<LLInventoryPanel>("Inventory Panel");
 	if(mInventoryPanel)
 	{
-		mInventoryPanel->setFilterTypes(0x1 << LLInventoryType::IT_CALLINGCARD);
+		mInventoryPanel->setFilterTypes(LLInventoryType::NIT_CALLCARD);
 		mInventoryPanel->setFollowsAll();
 		mInventoryPanel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS);
 		mInventoryPanel->openDefaultFolderForType(LLAssetType::AT_CALLINGCARD);
-- 
cgit v1.1