summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-09-06 17:48:20 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-09-06 17:48:20 +0300
commit6e00f93f8deb66f35259e945efb4d360274b9d1e (patch)
treed82405642b618d263660f7eff5e6ba28bbd0a303
parentc2f0d67ab24993d160309c20d2446d58e5d86cb8 (diff)
MAINT-9077 FIXED Jellydolled avatar attachments can emit light.
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index e541c1054e..e81515d52f 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -8666,7 +8666,8 @@ void LLPipeline::renderDeferredLighting()
}
const LLViewerObject *vobj = drawablep->getVObj();
- if(vobj && vobj->getAvatar() && vobj->getAvatar()->isInMuteList())
+ if(vobj && vobj->getAvatar()
+ && (vobj->getAvatar()->isTooComplex() || vobj->getAvatar()->isInMuteList()))
{
continue;
}