From d756225684d1f15cbb9a92df6f1491a9b99e643b Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 31 Jan 2013 02:41:17 -0500 Subject: [PATCH] Minimal change to fix folder->Add Items, purgeCategory wasn't supposed to be called in this case. --- indra/newview/llappearancemgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 5947ff919..3517a2293 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -2026,7 +2026,6 @@ void LLAppearanceMgr::updateCOF(LLInventoryModel::item_array_t& body_items_new, // if (!append) { link_waiter->addItem(category); - } // Remove current COF contents. Have to do this after creating // the link_waiter so links can be followed for any items that get @@ -2034,6 +2033,7 @@ void LLAppearanceMgr::updateCOF(LLInventoryModel::item_array_t& body_items_new, // contain one) bool keep_outfit_links = append; purgeCategory(cof, keep_outfit_links); + } gInventory.notifyObservers(); LL_DEBUGS("Avatar") << self_av_string() << "waiting for LLUpdateAppearanceOnDestroy" << LL_ENDL;