From 4d0bd020a0e3ce87731478bbb74e93b96a64b74e Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Wed, 14 Dec 2022 16:17:48 -0600 Subject: SL-18782 WIP -- Functional Build->Options->Show Reflection Probe Volumes --- indra/newview/pipeline.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/pipeline.cpp') 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); -- cgit v1.3