From 75452dd7a8f9f51bf3fbcb871976168f80e0cae0 Mon Sep 17 00:00:00 2001 From: leyla_linden Date: Sat, 23 Jul 2011 08:59:27 -0700 Subject: fixing outbox folder --- indra/newview/llinventorypanel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index d5d40ca65d..c3545efeaf 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -185,7 +185,7 @@ void LLInventoryPanel::buildFolderView(const LLInventoryPanel::Params& params) } } // leslie -- temporary HACK to work around sim not creating inbox and outbox with proper system folder type - else if (preferred_type == LLFolderType::FT_OUTBOX) + /*else if (preferred_type == LLFolderType::FT_OUTBOX) { LLInventoryModel::cat_array_t* cats; LLInventoryModel::item_array_t* items; @@ -204,7 +204,7 @@ void LLInventoryPanel::buildFolderView(const LLInventoryPanel::Params& params) } } } - } + }*/ // leslie -- end temporary HACK else { @@ -281,6 +281,7 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params) // hide inbox getFilter()->setFilterCategoryTypes(getFilter()->getFilterCategoryTypes() & ~(1ULL << LLFolderType::FT_INBOX)); + getFilter()->setFilterCategoryTypes(getFilter()->getFilterCategoryTypes() & ~(1ULL << LLFolderType::FT_OUTBOX)); // Initialize base class params. LLPanel::initFromParams(params); -- cgit v1.2.3