summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorprep <none@none>2012-02-27 13:42:14 -0500
committerprep <none@none>2012-02-27 13:42:14 -0500
commit5f2ed985aba01155ffb24a3bfe42e3444af735d5 (patch)
tree3337aad3eb9d60050f9279c35ed6f68ac17d5730 /indra/newview/llviewerdisplay.cpp
parent3b4e4f8bc98832ac5fdd211dbf4a611e24c076a6 (diff)
Path-267: Support for rendering of new shape types an ui hookup.
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 42c04f3fd8..001c23278d 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1015,9 +1015,9 @@ void render_navmesh( bool& allowRenderables, bool& exclusiveNavDraw )
exclusiveNavDraw = true;
}
//physics/exclusion shapes
- if ( pathfindingConsole->isRenderExclusionVolumes() )
+ if ( pathfindingConsole->isRenderAnyShapes() )
{
- llPathingLibInstance->renderNavMeshShapesVBO();
+ llPathingLibInstance->renderNavMeshShapesVBO( pathfindingConsole->getRenderShapeFlags() );
exclusiveNavDraw = true;
}
//User designated path