summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-25 19:14:45 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-02-25 19:14:45 -0500
commit6fe74c21ad4fbf471dc8b0d010d8b878395d26ed (patch)
tree3a3edf8ad282dac79cf1bb0c3d4850c9b51672fb /indra
parentb16dcda6a387774a446c04f63e1a55bd35ec7afe (diff)
parent96438194cd138dba58a24d2bef35cd72932ab62a (diff)
merge
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llappearancemgr.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index d0f28b8c10..131bef6958 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -1815,17 +1815,13 @@ void LLAppearanceMgr::updateCOF(const LLUUID& category, bool append)
all_items += gest_items;
// Will link all the above items.
- bool update_base_outfit_ordering = !append;
- LLCallAfterInventoryLinkMgr *link_waiter =
- new LLCallAfterInventoryLinkMgr(all_items,cof,"update_appearance_on_destroy",
- boost::bind(&LLAppearanceMgr::updateAppearanceFromCOF,
- LLAppearanceMgr::getInstance(),
- update_base_outfit_ordering));
+ LLPointer<LLInventoryCallback> link_waiter = new LLUpdateAppearanceOnDestroy;
+ linkAll(cof,all_items,link_waiter);
// Add link to outfit if category is an outfit.
if (!append)
{
- link_waiter->addItem(category);
+ createBaseOutfitLink(category, NULL);
}
// Remove current COF contents. Have to do this after creating