From a690c970e6bc16a6c81d22b902d09ad5490dd043 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Thu, 2 Feb 2012 18:14:52 -0600 Subject: [PATCH] RenderAutoMuteByteLimit and RenderAutoMuteSurfaceArea: Only 'grey' out visually blocked avatars on impostor pass. --- indra/newview/llvoavatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index aa807c282..100d9445a 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -4918,7 +4918,7 @@ U32 LLVOAvatar::renderSkinned(EAvatarRenderPass pass) if (pass == AVATAR_RENDER_PASS_SINGLE) { - bool is_muted = isVisuallyMuted(); //Disable masking and also disable alpha in LLViewerJoint::render + bool is_muted = LLPipeline::sImpostorRender && isVisuallyMuted(); //Disable masking and also disable alpha in LLViewerJoint::render const bool should_alpha_mask = !is_muted && shouldAlphaMask(); LLGLState test(GL_ALPHA_TEST, should_alpha_mask);