diff options
author | prep <prep@lindenlab.com> | 2011-12-07 18:09:16 -0500 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2011-12-07 18:09:16 -0500 |
commit | a5e2dad53dda8585b82a2e6ae84f178aa25bcb67 (patch) | |
tree | ebc72d92d5949b3d813dec63241dcb4d74321532 /indra | |
parent | 8974278746932fe470e2cbc52511fbc915f1e893 (diff) |
Turning on navmesh rendering toggles normal renderables
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llrendernavprim.cpp | 3 |
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); |