Refactoring.
-New LLWearableType class, uses LLDictionary for typeindex<->typename<->assettype<->typelabel conversions. -LLAvatarDefines cleaned up. Uses LLDictionary for Mesh, TE, Baked lookups/conversions. -LLAgentWearables TEWearable stuff removed. Use LLAvatarDefines. -LLWearable WearableType conversions yanked. Use LLWearableType. -LLVOAvatar TEWEarable stuff removed. Use LLAvatarDefines. -EWearableType now LLWearableType::EType -LLWearable::getID() renamed to LLWearable::getAssetID() VOAvatar cleanup. -Removed redundant TEWearable functions. -Some code migrated to F32 LLVOAvatar::calcMorphAmount(). No functional change. -LLVOAvatar::removeMissingBakedTextures virtual. Implementation moved to VOAvatarSelf
This commit is contained in:
@@ -140,9 +140,9 @@ void RlvInventory::fetchWornItems()
|
||||
uuid_vec_t idItems;
|
||||
|
||||
// Fetch all currently worn clothing layers and body parts
|
||||
for (int type = 0; type < WT_COUNT; type++)
|
||||
for (int type = 0; type < LLWearableType::WT_COUNT; type++)
|
||||
{
|
||||
const LLUUID& idItem = gAgentWearables.getWearableItemID((EWearableType)type);
|
||||
const LLUUID& idItem = gAgentWearables.getWearableItemID((LLWearableType::EType)type);
|
||||
if (idItem.notNull())
|
||||
idItems.push_back(idItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user