diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-17 14:32:07 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-17 14:32:07 -0500 |
commit | 53c692c9597551c9a1ba8eee346432de51d9d22d (patch) | |
tree | 556441b5d177bb2489e3794e753b4787e4f357e7 /indra/newview/pipeline.cpp | |
parent | b2141e94465998d13ab4b5d894b0edcdad0e8216 (diff) |
SL-17416 Quick 'n dirty reflection probe override hack.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 5eb9817fc4..4cf8157623 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -5150,7 +5150,6 @@ void LLPipeline::renderDebug() glPointSize(1.f); } - // Debug stuff. for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin(); iter != LLWorld::getInstance()->getRegionList().end(); ++iter) @@ -5204,6 +5203,12 @@ void LLPipeline::renderDebug() visible_selected_groups.clear(); + //draw reflection probes and links between them + if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_REFLECTION_PROBES) && !hud_only) + { + mReflectionMapManager.renderDebug(); + } + gUIProgram.bind(); if (hasRenderDebugMask(LLPipeline::RENDER_DEBUG_RAYCAST) && !hud_only) |