diff options
| author | prep <none@none> | 2012-03-21 09:53:32 -0400 |
|---|---|---|
| committer | prep <none@none> | 2012-03-21 09:53:32 -0400 |
| commit | 154e569923d0caf99fb0d24af8475731f5ceaf33 (patch) | |
| tree | dbb397f25b7e02c941e726bd6d0531e47cb3bdee /indra/newview/pipeline.cpp | |
| parent | d3550dfcd64cfc182fd120338d3e7eb25ac339af (diff) | |
Path-282: Added support for viewing the walkability map for various character types
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index f0c5342425..f91dfa7c27 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4347,7 +4347,8 @@ void LLPipeline::renderDebug() glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
}
- llPathingLibInstance->renderNavMesh();
+ int materialIndex = pathfindingConsole->getHeatMapType();
+ llPathingLibInstance->renderNavMesh( materialIndex );
glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
glLineWidth(1.0f);
gGL.flush();
|
