parent
eaa4d07c61
commit
7aca014ebc
|
|
@ -300,7 +300,8 @@ EBakedTextureIndex LLAvatarAppearanceDictionary::findBakedByImageName(std::strin
|
||||||
|
|
||||||
LLWearableType::EType LLAvatarAppearanceDictionary::getTEWearableType(ETextureIndex index ) const
|
LLWearableType::EType LLAvatarAppearanceDictionary::getTEWearableType(ETextureIndex index ) const
|
||||||
{
|
{
|
||||||
return getTexture(index)->mWearableType;
|
auto* tex = getTexture(index);
|
||||||
|
return tex ? tex->mWearableType : LLWearableType::WT_INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue