From ba8b109e988859757609b6b502bcbc729136a73f Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Wed, 24 Feb 2016 17:40:45 +0200 Subject: MAINT-5893 Issue with muted agent's attached lighting still rendering. --- indra/newview/pipeline.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 771881c44a..be575150cd 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8661,6 +8661,11 @@ void LLPipeline::renderDeferredLighting() } } + const LLViewerObject *vobj = drawablep->getVObj(); + if(vobj && vobj->getAvatar() && vobj->getAvatar()->isInMuteList()) + { + continue; + } LLVector4a center; center.load3(drawablep->getPositionAgent().mV); -- cgit v1.2.3