SL-14264 - BOM texture
parent
fa33589c4e
commit
133918aeb9
|
|
@ -4954,9 +4954,7 @@ LLViewerTexture* LLViewerObject::getBakedTextureForMagicId(const LLUUID& id)
|
|||
}
|
||||
|
||||
LLVOAvatar* avatar = getAvatar();
|
||||
if (avatar && !isHUDAttachment()
|
||||
&& isMesh()
|
||||
&& getVolume() && getVolume()->getParams().getSculptID().notNull()) // checking for the rigged mesh by params instead of using isRiggedMesh() to avoid false negatives when skin info isn't ready
|
||||
if (avatar && !isHUDAttachment())
|
||||
{
|
||||
LLAvatarAppearanceDefines::EBakedTextureIndex texIndex = LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::assetIdToBakedTextureIndex(id);
|
||||
LLViewerTexture* bakedTexture = avatar->getBakedTexture(texIndex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue