summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-24 17:40:45 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-24 17:40:45 +0200
commitba8b109e988859757609b6b502bcbc729136a73f (patch)
tree8c1a290d36393949b2582e2373c274365c65f288
parentab627c3dd6d8a657bf56077fc9e320b6541e781b (diff)
MAINT-5893 Issue with muted agent's attached lighting still rendering.
-rwxr-xr-xindra/newview/pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
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);