summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearablesfetch.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-08-31 19:55:19 -0400
committerLoren Shih <seraph@lindenlab.com>2010-08-31 19:55:19 -0400
commit704405903f8d1606ef98df76d37c83931e5368ab (patch)
tree7a970bcfad80962c4d0e96e9351ed718da687dff /indra/newview/llagentwearablesfetch.cpp
parent85d659f44d2badfd42ee9b1ae7cd0971806672d4 (diff)
parent3cabca8df62ae8ee815dd7d885f14f5a7d0ea98d (diff)
pull from viewer-development
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);