Path-387, Path-283: Navmesh rendering fix.

meow-7.2.2
prep 2012-03-07 13:50:38 -05:00
parent e02d8cdc98
commit ce4f86c35b
1 changed files with 6 additions and 0 deletions

View File

@ -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 )