summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2020-03-24 20:39:36 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-05-01 16:55:34 +0300
commitb654330f51dea8d5b6b3afd0440a10b2f623bcdd (patch)
tree9c6337d8ada8d1f04c56a019f80c273b69b867bc /indra/newview
parent9c31597e5e798d40b00e55187949ef2687917022 (diff)
SL-12896 - BOM texture settings
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index fe3e4cdd61..8fe5a55a4f 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4800,7 +4800,7 @@ LLViewerTexture* LLViewerObject::getBakedTextureForMagicId(const LLUUID& id)
}
LLVOAvatar* avatar = getAvatar();
- if (avatar)
+ if (avatar && isRiggedMesh() && !isHUDAttachment())
{
LLAvatarAppearanceDefines::EBakedTextureIndex texIndex = LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::assetIdToBakedTextureIndex(id);
LLViewerTexture* bakedTexture = avatar->getBakedTexture(texIndex);