From 612df63956a0758548d5291af72fb3ef9b06282a Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 10 Feb 2010 17:33:28 +0000 Subject: CID-97 Checker: FORWARD_NULL Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray, (int)32> &, LLDynamicArray&, int) File: /indra/newview/llagentwearables.cpp --- indra/newview/llagentwearables.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/newview/llagentwearables.cpp') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 71fc62b04b..6620780b27 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1621,8 +1621,10 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it } if (new_wearable) + { new_wearable->setItemID(new_item->getUUID()); - setWearable(type,0,new_wearable); + setWearable(type,0,new_wearable); + } } std::vector wearables_being_removed; -- cgit v1.2.3