summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDrake Arconis <drake@alchemyviewer.org>2016-03-23 10:11:38 -0400
committerDrake Arconis <drake@alchemyviewer.org>2016-03-23 10:11:38 -0400
commitc01eba1ded607e5868a9c662bb37778bde927828 (patch)
tree7818f3bfd88c3374d91735b6429b8eabba9fe422 /indra
parent7bbf2ec9f82c9818d02493c7b877e68ca97261fc (diff)
Fix avatar body always rendering in simple impostor mode
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 2555073926..005dd65e01 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -4069,11 +4069,9 @@ U32 LLVOAvatar::renderSkinned()
BOOL first_pass = TRUE;
if (!LLDrawPoolAvatar::sSkipOpaque)
{
- bool visually_muted = isVisuallyMuted();
-
if (!isSelf() || gAgent.needsRenderHead() || LLPipeline::sShadowRender)
{
- if (isTextureVisible(TEX_HEAD_BAKED) || mIsDummy || visually_muted)
+ if (isTextureVisible(TEX_HEAD_BAKED) || mIsDummy)
{
LLViewerJoint* head_mesh = getViewerJoint(MESH_ID_HEAD);
if (head_mesh)
@@ -4083,7 +4081,7 @@ U32 LLVOAvatar::renderSkinned()
first_pass = FALSE;
}
}
- if (isTextureVisible(TEX_UPPER_BAKED) || mIsDummy || visually_muted)
+ if (isTextureVisible(TEX_UPPER_BAKED) || mIsDummy)
{
LLViewerJoint* upper_mesh = getViewerJoint(MESH_ID_UPPER_BODY);
if (upper_mesh)
@@ -4093,7 +4091,7 @@ U32 LLVOAvatar::renderSkinned()
first_pass = FALSE;
}
- if (isTextureVisible(TEX_LOWER_BAKED) || mIsDummy || visually_muted)
+ if (isTextureVisible(TEX_LOWER_BAKED) || mIsDummy)
{
LLViewerJoint* lower_mesh = getViewerJoint(MESH_ID_LOWER_BODY);
if (lower_mesh)