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:
@@ -1479,52 +1479,52 @@ std::string get_item_icon_name(LLAssetType::EType asset_type,
|
||||
}
|
||||
switch(LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK & attachment_point)
|
||||
{
|
||||
case WT_SHAPE:
|
||||
case LLWearableType::WT_SHAPE:
|
||||
idx = BODYPART_SHAPE_ICON_NAME;
|
||||
break;
|
||||
case WT_SKIN:
|
||||
case LLWearableType::WT_SKIN:
|
||||
idx = BODYPART_SKIN_ICON_NAME;
|
||||
break;
|
||||
case WT_HAIR:
|
||||
case LLWearableType::WT_HAIR:
|
||||
idx = BODYPART_HAIR_ICON_NAME;
|
||||
break;
|
||||
case WT_EYES:
|
||||
case LLWearableType::WT_EYES:
|
||||
idx = BODYPART_EYES_ICON_NAME;
|
||||
break;
|
||||
case WT_SHIRT:
|
||||
case LLWearableType::WT_SHIRT:
|
||||
idx = CLOTHING_SHIRT_ICON_NAME;
|
||||
break;
|
||||
case WT_PANTS:
|
||||
case LLWearableType::WT_PANTS:
|
||||
idx = CLOTHING_PANTS_ICON_NAME;
|
||||
break;
|
||||
case WT_SHOES:
|
||||
case LLWearableType::WT_SHOES:
|
||||
idx = CLOTHING_SHOES_ICON_NAME;
|
||||
break;
|
||||
case WT_SOCKS:
|
||||
case LLWearableType::WT_SOCKS:
|
||||
idx = CLOTHING_SOCKS_ICON_NAME;
|
||||
break;
|
||||
case WT_JACKET:
|
||||
case LLWearableType::WT_JACKET:
|
||||
idx = CLOTHING_JACKET_ICON_NAME;
|
||||
break;
|
||||
case WT_GLOVES:
|
||||
case LLWearableType::WT_GLOVES:
|
||||
idx = CLOTHING_GLOVES_ICON_NAME;
|
||||
break;
|
||||
case WT_UNDERSHIRT:
|
||||
case LLWearableType::WT_UNDERSHIRT:
|
||||
idx = CLOTHING_UNDERSHIRT_ICON_NAME;
|
||||
break;
|
||||
case WT_UNDERPANTS:
|
||||
case LLWearableType::WT_UNDERPANTS:
|
||||
idx = CLOTHING_UNDERPANTS_ICON_NAME;
|
||||
break;
|
||||
case WT_SKIRT:
|
||||
case LLWearableType::WT_SKIRT:
|
||||
idx = CLOTHING_SKIRT_ICON_NAME;
|
||||
break;
|
||||
case WT_ALPHA:
|
||||
case LLWearableType::WT_ALPHA:
|
||||
idx = CLOTHING_ALPHA_ICON_NAME;
|
||||
break;
|
||||
case WT_TATTOO:
|
||||
case LLWearableType::WT_TATTOO:
|
||||
idx = CLOTHING_TATTOO_ICON_NAME;
|
||||
break;
|
||||
case WT_PHYSICS:
|
||||
case LLWearableType::WT_PHYSICS:
|
||||
idx = CLOTHING_PHYSICS_ICON_NAME;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user