summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:33:28 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:33:28 +0000
commit612df63956a0758548d5291af72fb3ef9b06282a (patch)
tree0355a36eb4b179ecb9c7f90eb2e8907f6d999091 /indra
parentd398131bd753b05045dc9ca7e9bcaf3d2d4daf99 (diff)
CID-97
Checker: FORWARD_NULL Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray<LLPointer<LLInventoryItem>, (int)32> &, LLDynamicArray<LLWearable *, (int)32>&, int) File: /indra/newview/llagentwearables.cpp
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llagentwearables.cpp4
1 files changed, 3 insertions, 1 deletions
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<LLWearable*> wearables_being_removed;