Skip to content

Commit c62735a

Browse files
authored
Fix alpha debug overlay rendering in probes and breaking scene lighting (#5058)
Signed-off-by: Rye <rye@alchemyviewer.org>
1 parent c6f1b72 commit c62735a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/lldrawpoolalpha.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ void LLDrawPoolAlpha::forwardRender(bool rigged)
278278

279279
void LLDrawPoolAlpha::renderDebugAlpha()
280280
{
281-
if (sShowDebugAlpha)
281+
if (sShowDebugAlpha && !gCubeSnapshot)
282282
{
283283
gHighlightProgram.bind();
284284
gGL.diffuseColor4f(1, 0, 0, 1);

0 commit comments

Comments
 (0)