diff options
author | Dave Parks <davep@lindenlab.com> | 2023-02-15 10:57:29 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-02-15 10:57:29 -0600 |
commit | b4332012ab0c97785bcf8aa283aa7e2b1a052f86 (patch) | |
tree | d960acff3f6ccac29dd5c0c44cad6167017bbc6c /indra | |
parent | 893db4a692cab1b67f48be93daa452bcfdc8491e (diff) |
SL-19219 Fix for reflection probe display rendering during HUD render (also shadow frusta)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index c934803a38..e814b77725 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4687,7 +4687,7 @@ void LLPipeline::renderDebug() mReflectionMapManager.renderDebug(); } - if (gSavedSettings.getBOOL("RenderReflectionProbeVolumes")) + if (gSavedSettings.getBOOL("RenderReflectionProbeVolumes") && !hud_only) { LL_PROFILE_ZONE_NAMED_CATEGORY_PIPELINE("probe debug display"); @@ -4740,7 +4740,7 @@ void LLPipeline::renderDebug() } } - if (hasRenderDebugMask(LLPipeline::RENDER_DEBUG_SHADOW_FRUSTA)) + if (hasRenderDebugMask(LLPipeline::RENDER_DEBUG_SHADOW_FRUSTA) && !hud_only) { LLVertexBuffer::unbind(); @@ -9892,7 +9892,6 @@ void LLPipeline::generateSunShadow(LLCamera& camera) } } - //hack to disable projector shadows bool gen_shadow = RenderShadowDetail > 1; |