From ce4f86c35b45fdae3b6cdfa7440664fe2b3169a5 Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 7 Mar 2012 13:50:38 -0500 Subject: Path-387, Path-283: Navmesh rendering fix. --- indra/newview/pipeline.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) -- cgit v1.2.3