From f9a0f79838d2431894bd6cc1e244f743e8581ccb Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 28 Mar 2012 18:26:00 -0700 Subject: Updating the navmesh colors based on discussions with Leo. --- indra/newview/pipeline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview/pipeline.cpp') diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 89824d9da6..3d4cf6afd9 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4344,8 +4344,7 @@ void LLPipeline::renderDebug() } else { - //glClearColor(0,0,0,0); - LLColor4U clearColor = pathfindingConsole->mNavMeshColors.mNavMeshClear; + const LLColor4 &clearColor = pathfindingConsole->mNavMeshColors.mNavMeshClear; glClearColor(clearColor.mV[0],clearColor.mV[1],clearColor.mV[2],0); glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); glPolygonMode( GL_FRONT_AND_BACK, GL_FILL ); -- cgit v1.2.3