diff options
| -rw-r--r-- | indra/newview/llagentwearables.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index a439720dcf..5d6e88a833 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1605,6 +1605,9 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it  		LLWearable* new_wearable = wearables[i];  		LLPointer<LLInventoryItem> new_item = items[i]; +		llassert(new_wearable); +		if (!new_wearable) continue; +  		const EWearableType type = new_wearable->getType();  		wearables_to_remove[type] = FALSE; | 
