summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorvyacheslavsproductengine <vyacheslavsproductengine@lindenlab.com>2015-09-10 22:31:06 +0300
committervyacheslavsproductengine <vyacheslavsproductengine@lindenlab.com>2015-09-10 22:31:06 +0300
commit2ee30986cdf79813add265cfc678f96461b52107 (patch)
treef816ce28ec0bdc3d6a167c5c32b552a66f058a46 /indra
parent5c7e76ef60cfddcdff5efa6304aa2c1ebcebc49c (diff)
MAINT-5022 FIXED (don't perform material if an avatar isTooComplex()) [QuickGraphics] Materials should not be applied to simple imposters.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/lldrawpoolavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 42a23faa49..6d98c2feda 100755
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -1265,7 +1265,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
if (impostor)
{
- if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender && avatarp->mImpostor.isComplete())
+ if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender && avatarp->mImpostor.isComplete() && !avatarp->isTooComplex())
{
if (normal_channel > -1)
{