summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearablesfetch.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-08-29 08:38:34 -0400
committerOz Linden <oz@lindenlab.com>2010-08-29 08:38:34 -0400
commit05913a83a5f0f7f076ad915f3de4c23330f6d32b (patch)
tree893a24c2f3b10f2da722158b4bad967c97613c13 /indra/newview/llagentwearablesfetch.cpp
parent1a8d917a6d0d2393a0f0248d0072dd7cfd487609 (diff)
parent75a66a146b8f4b3127eb86fec10c24cc45d3f6d7 (diff)
Merge changes from product-engine branch
Diffstat (limited to 'indra/newview/llagentwearablesfetch.cpp')
-rw-r--r--indra/newview/llagentwearablesfetch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llagentwearablesfetch.cpp b/indra/newview/llagentwearablesfetch.cpp
index f7ae320a6f..1edc96e165 100644
--- a/indra/newview/llagentwearablesfetch.cpp
+++ b/indra/newview/llagentwearablesfetch.cpp
@@ -115,6 +115,7 @@ void LLInitialWearablesFetch::processContents()
LLInventoryModel::cat_array_t cat_array;
LLInventoryModel::item_array_t wearable_array;
LLFindWearables is_wearable;
+ llassert_always(mComplete.size() != 0);
gInventory.collectDescendentsIf(mComplete.front(), cat_array, wearable_array,
LLInventoryModel::EXCLUDE_TRASH, is_wearable);