diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-03-31 16:49:26 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-03-31 16:49:26 +0300 |
commit | 349bc84dfd73702fe788f9ac4539d8046b78e9f3 (patch) | |
tree | 4a0f772749ae4c21712fdb07eaabdb5b8a435a68 /indra/newview/llsidepanelappearance.cpp | |
parent | 0a0f6dec5f6128990f4116c1f90e19691e30c3d2 (diff) | |
parent | 8ef5fd0e144af53e6044c0dfc15fda9b36bdd85a (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r-- | indra/newview/llsidepanelappearance.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp index 00e152b7f5..b951434010 100644 --- a/indra/newview/llsidepanelappearance.cpp +++ b/indra/newview/llsidepanelappearance.cpp @@ -358,11 +358,13 @@ void LLSidepanelAppearance::fetchInventory() LLUUID item_id; for(S32 type = (S32)WT_SHAPE; type < (S32)WT_COUNT; ++type) { - // MULTI_WEARABLE: - item_id = gAgentWearables.getWearableItemID((EWearableType)type,0); - if(item_id.notNull()) + for (U32 index = 0; index < gAgentWearables.getWearableCount((EWearableType)type); ++index) { - ids.push_back(item_id); + item_id = gAgentWearables.getWearableItemID((EWearableType)type, index); + if(item_id.notNull()) + { + ids.push_back(item_id); + } } } |