diff options
author | prep <none@none> | 2011-12-20 12:57:32 -0500 |
---|---|---|
committer | prep <none@none> | 2011-12-20 12:57:32 -0500 |
commit | e9058099d0405ce89905bd2393fb0264327d4230 (patch) | |
tree | a1d2e494651fb42b262b5b5ebf99ff5ee516d2bc /indra/llrender/llrendernavprim.cpp | |
parent | 32fe974ac272ac5f92dd4c5c84e482b0acb36fe2 (diff) |
Allow for the overlaying of an unblended navmesh ontop of the scenes normal renderables
Diffstat (limited to 'indra/llrender/llrendernavprim.cpp')
-rw-r--r-- | indra/llrender/llrendernavprim.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp index 3b217b426f..11e60548e2 100644 --- a/indra/llrender/llrendernavprim.cpp +++ b/indra/llrender/llrendernavprim.cpp @@ -36,7 +36,8 @@ LLRenderNavPrim gRenderNav;
//=============================================================================
void LLRenderNavPrim::renderSegment( const LLVector3& start, const LLVector3& end, int color ) const
-{
+{
+ LLGLSLShader::sNoFixedFunction = false;
LLColor4 colorA( color );
glLineWidth(1.5f);
gGL.color3fv( colorA.mV );
@@ -48,6 +49,8 @@ void LLRenderNavPrim::renderSegment( const LLVector3& start, const LLVector3& en }
gGL.end();
+ gGL.flush();
+ LLGLSLShader::sNoFixedFunction = true;
glLineWidth(1.0f);
}
//=============================================================================
|