summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-03-07 13:50:38 -0500
committerprep <prep@lindenlab.com>2012-03-07 13:50:38 -0500
commitce4f86c35b45fdae3b6cdfa7440664fe2b3169a5 (patch)
tree799e3895f227e547b8652941b79681788d5775de /indra/newview
parente02d8cdc9875c14084447a5156799eeca030ea73 (diff)
Path-387, Path-283: Navmesh rendering fix.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 87e21c1f05..9068151435 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4328,10 +4328,16 @@ void LLPipeline::renderDebug()
LLMemType mt(LLMemType::MTYPE_PIPELINE);
assertInitialized();
+
if (LLGLSLShader::sNoFixedFunction)
{
gUIProgram.bind();
}
+
+ gGL.setSceneBlendType(LLRender::BT_ALPHA);
+ gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
+ gPipeline.disableLights();
+
//Render any navmesh geometry
LLPathingLib *llPathingLibInstance = LLPathingLib::getInstance();
if ( llPathingLibInstance != NULL )