summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-12-07 18:09:16 -0500
committerprep <prep@lindenlab.com>2011-12-07 18:09:16 -0500
commita5e2dad53dda8585b82a2e6ae84f178aa25bcb67 (patch)
treeebc72d92d5949b3d813dec63241dcb4d74321532
parent8974278746932fe470e2cbc52511fbc915f1e893 (diff)
Turning on navmesh rendering toggles normal renderables
-rw-r--r--indra/llrender/llrendernavprim.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp
index 73bc21ab7c..3e14c34168 100644
--- a/indra/llrender/llrendernavprim.cpp
+++ b/indra/llrender/llrendernavprim.cpp
@@ -53,10 +53,11 @@ void LLRenderNavPrim::renderTri( const LLVector3& a, const LLVector3& b, const L
{
glPolygonMode(GL_NONE, GL_FILL);
LLGLDisable cull(GL_CULL_FACE);
- LLGLEnable lighting( GL_LIGHTING );
+ //LLGLEnable lighting( GL_LIGHTING );
//glEnable(GL_POLYGON_STIPPLE);
glLineWidth(1.5f);
LLColor4 colorA( color );
+ colorA*=2.0f;
gGL.color4fv( colorA.mV );
gGL.begin(LLRender::TRIANGLES);