From 2a1eedf98e9b4f48636fbe082c2ffa43f265a714 Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 14 Mar 2012 16:13:09 -0400 Subject: Added flush support to navmesh havok display wrapper and made lines a bit thicker. --- indra/newview/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 28d59785d3..f0c5342425 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4335,7 +4335,7 @@ void LLPipeline::renderDebug() //NavMesh if ( pathfindingConsole->isRenderNavMesh() ) { - glLineWidth(1.5f); + glLineWidth(2.0f); LLGLEnable cull(GL_CULL_FACE); if ( pathfindingConsole->isRenderWorld() ) { -- cgit v1.2.3 From 72f6df493cacdd8ccf160dd785081e5b2b579862 Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 14 Mar 2012 16:22:19 -0400 Subject: Updated header for flush. --- indra/llrender/llrendernavprim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/llrender/llrendernavprim.h b/indra/llrender/llrendernavprim.h index d88fe656b7..158093690e 100644 --- a/indra/llrender/llrendernavprim.h +++ b/indra/llrender/llrendernavprim.h @@ -47,7 +47,8 @@ public: void renderNavMeshVB( LLVertexBuffer* pVBO, int vertCnt ); //Draw a star void renderStar( const LLVector3& center, const float scale, int color ) const; - + //Flush the device + void flushDevice() { gGL.flush(); } private: }; -- cgit v1.2.3