diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-24 11:38:23 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-24 11:38:23 -0500 |
commit | 3b3d3d88d1755ac08c7d22721fa3fe1657f7c5fd (patch) | |
tree | 368ed11839420f4be9454506fac0598b053c27b5 | |
parent | 0940e8871894e08da80730d11c31cbd252a05b35 (diff) |
SL-17287 Don't update reflection probes when PBR is disabled.
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index db6622239d..34055653d4 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -67,7 +67,7 @@ struct CompareProbeDistance // helper class to seed octree with probes void LLReflectionMapManager::update() { - if (!LLPipeline::sRenderDeferred || gTeleportDisplay) + if (!LLPipeline::sRenderPBR || gTeleportDisplay) { return; } @@ -634,6 +634,7 @@ void LLReflectionMapManager::updateUniforms() void LLReflectionMapManager::setUniforms() { + llassert(LLPipeline::sRenderPBR); if (mUBO == 0) { updateUniforms(); @@ -644,7 +645,6 @@ void LLReflectionMapManager::setUniforms() void renderReflectionProbe(LLReflectionMap* probe) { - F32* po = probe->mOrigin.getF32ptr(); //draw orange line from probe to neighbors |