diff options
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llappearancemgr.cpp | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 10523ca998..23a908c0ff 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1814,17 +1814,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 | 
