summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-19 12:32:17 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-19 12:32:17 -0700
commit2d011abb6b09e35ab64b6133fbed8d617d2add88 (patch)
treecff97377c7007c33a557dad077fb5d97b7d2368e /indra/newview/pipeline.cpp
parent4f2584aaac5f748530695dc1f150188b69318676 (diff)
Cleaning up the navmesh colors a bit.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 02ef301fd0..ccc65fe412 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4353,7 +4353,7 @@ void LLPipeline::renderDebug()
if ( !pathfindingConsole->isRenderWorld() )
{
- const LLColor4 &clearColor = pathfindingConsole->getNavMeshBackgroundColor();
+ const LLColor4 clearColor = gSavedSettings.getColor4("PathfindingNavMeshClear");
gGL.setColorMask(true, true);
glClearColor(clearColor.mV[0],clearColor.mV[1],clearColor.mV[2],0);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);