diff options
author | Callum Prentice <callum@lindenlab.com> | 2010-02-11 14:04:40 -0800 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2010-02-11 14:04:40 -0800 |
commit | f791d103c85fdb1a8b5f9f32365708915d1cfe74 (patch) | |
tree | 9e0fa8bf6cc748a1ba053400bd7a3f440345ded2 /indra/newview/llagentwearables.cpp | |
parent | 92468f0dea2a9ddc57d89a64e0e8bb7b6cc1fd41 (diff) | |
parent | dc61885aa6d0894c913f3ce7ede410d1c18ce089 (diff) |
Merge with tip
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rw-r--r-- | indra/newview/llagentwearables.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 6078620e87..a439720dcf 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -299,6 +299,10 @@ void LLAgentWearables::addWearableToAgentInventoryCallback::fire(const LLUUID& i { gAgentWearables.makeNewOutfitDone(mType, mIndex); } + if (mTodo & CALL_WEARITEM) + { + LLAppearanceManager::instance().addCOFItemLink(inv_item, true); + } } void LLAgentWearables::addWearabletoAgentInventoryDone(const S32 type, @@ -510,7 +514,7 @@ void LLAgentWearables::saveWearableAs(const EWearableType type, type, index, new_wearable, - addWearableToAgentInventoryCallback::CALL_UPDATE); + addWearableToAgentInventoryCallback::CALL_WEARITEM); LLUUID category_id; if (save_in_lost_and_found) { |