summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2020-10-15 18:34:15 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2020-10-15 18:34:15 +0100
commit00ab8eb6e6f1958a41ec9d6cfbdda0dd85f1dd8a (patch)
treef5845a994d06b3993094289bd0af2d460e3aa0f0 /indra/newview/pipeline.cpp
parentdc733d2c80afecb77ae27bf4f1a9b91510c888fb (diff)
SL-14130 - WIP, notes on impostor state management
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 82ae99309d..05f9f7800d 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -10920,6 +10920,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar)
{
LL_RECORD_BLOCK_TIME(FTM_IMPOSTOR_MARK_VISIBLE);
markVisible(avatar->mDrawable, *viewer_camera);
+ // FIXME temporarily hacked during impostor generation??
LLVOAvatar::sUseImpostors = false; // @TODO ???
LLVOAvatar::attachment_map_t::iterator iter;
@@ -11160,6 +11161,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar)
avatar->setImpostorDim(tdim);
+ // FIXME restored here. Where is this temp hack used??
LLVOAvatar::sUseImpostors = (0 != LLVOAvatar::sMaxNonImpostors);
sUseOcclusion = occlusion;
sReflectionRender = false;