summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-14 16:17:48 -0600
committerDave Parks <davep@lindenlab.com>2022-12-14 16:17:48 -0600
commit4d0bd020a0e3ce87731478bbb74e93b96a64b74e (patch)
treefbe225e1d550e57fa64f2caf1be1ace5ede6a860 /indra/newview/pipeline.cpp
parentad08d20c4c0f8ef07915aceff70934b1d05cd2e1 (diff)
SL-18782 WIP -- Functional Build->Options->Show Reflection Probe Volumes
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 9d792d0801..7bc819d553 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -5237,7 +5237,10 @@ void LLPipeline::renderDebug()
if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_REFLECTION_PROBES) && !hud_only)
{
mReflectionMapManager.renderDebug();
+ }
+ if (gSavedSettings.getBOOL("RenderReflectionProbeVolumes"))
+ {
LL_PROFILE_ZONE_NAMED_CATEGORY_PIPELINE("probe debug display");
bindDeferredShader(gReflectionProbeDisplayProgram, NULL);