summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-11-09 23:05:35 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-11-09 23:05:35 +0200
commit84222286ccb5ebb50e5f4da2dd5d4e87253b37d4 (patch)
tree11e7823583dfab957061e9387b06ca9547a62af1 /indra
parentd97d7c52068b71bd99b10db046c6a0688b61a254 (diff)
MAINT-6917 Setting one avatar to "Do not render" causes all avatars to become imposters
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 1d083bb2fd..2f17fb54ad 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -11622,7 +11622,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar)
avatar->setImpostorDim(tdim);
- LLVOAvatar::sUseImpostors = true; // @TODO ???
+ LLVOAvatar::sUseImpostors = (0 != LLVOAvatar::sMaxNonImpostors);
sUseOcclusion = occlusion;
sReflectionRender = false;
sImpostorRender = false;