From 962bf7bc41b83faf9e1fa7508a143102dbe1b13f Mon Sep 17 00:00:00 2001 From: Igor Borovkov Date: Tue, 13 Jul 2010 17:08:35 +0300 Subject: EXT-8328 FIXED passed missing parameter (callback) instead of a default one to the LLAppearanceMgr::addCOFItemLink(...) appearance update callback wasn't passed down to LLAppearanceMgr::addCOFItemLink(...), so wearables list was updated before receiving server response regarding creating of the COF item link Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/741/ --HG-- branch : product-engine --- indra/newview/llappearancemgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 562401cd89..a7d90ab8d3 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -995,7 +995,7 @@ bool LLAppearanceMgr::wearItemOnAvatar(const LLUUID& item_id_to_wear, bool do_up { removeCOFItemLinks(gAgentWearables.getWearableItemID(item_to_wear->getWearableType(), wearable_count-1), false); } - addCOFItemLink(item_to_wear, do_update); + addCOFItemLink(item_to_wear, do_update, cb); } break; case LLAssetType::AT_BODYPART: -- cgit v1.2.3