summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-05-09 15:56:06 -0400
committerprep <prep@lindenlab.com>2012-05-09 15:56:06 -0400
commit92ce47a1b21b3cc06d3d962394f44617a780ffbd (patch)
treeda41492c597ba5432af17b278cdd698b894085c1 /indra/newview/llfloaterpathfindingconsole.cpp
parent88674e02ddaf8d300a0a65c216eaf304cbeb7c3a (diff)
Added support to disable a draw pool. When the movable option checkbox is selected we will now also cull the terrain draw pool.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index 4c55e4debd..f6eb40abdc 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -1003,6 +1003,10 @@ void LLFloaterPathfindingConsole::cleanupRenderableRestoreItems()
gPipeline.restorePermanentObjects( mRenderableRestoreList );
mRenderableRestoreList.clear();
}
+ else
+ {
+ gPipeline.skipRenderingOfTerrain( false );
+ }
}
void LLFloaterPathfindingConsole::setAgentState(LLPathfindingManager::EAgentState pAgentState)