summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-04-25 15:05:06 -0400
committerprep <prep@lindenlab.com>2012-04-25 15:05:06 -0400
commit93107482f7f0ca2df088125b20f51a338c569a34 (patch)
tree9be5bf3ef789fd4229a5595894993d25b3158a51 /indra
parenta72034fa42ebaf7e2f56c4a8cb0f445f12d22fe4 (diff)
Path-504 fix. Mouselook stays in the navmesh visualization mode instead of kicking back to the default scene rendering
Diffstat (limited to 'indra')
-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 b162ec422a..72e47f54a0 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4338,7 +4338,7 @@ void LLPipeline::renderDebug()
{
LLFloaterPathfindingConsole *pathfindingConsole = pathfindingConsoleHandle.get();
- if (pathfindingConsole->isShown())
+ if ( pathfindingConsole->isShown() || gAgentCamera.cameraMouselook() )
{
F32 ambiance = gSavedSettings.getF32("PathfindingAmbiance");