From 208d73f52497c7e4c15f21843428ffa6a3db7aaa Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 6 Jun 2012 12:00:21 -0400 Subject: Render fix to remove blend artifacts on physics capsule. llphysics extension lib update (path-680, path-681). --- indra/newview/pipeline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index d54accfea5..3531599764 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4385,8 +4385,7 @@ void LLPipeline::renderDebug() { //remove blending artifacts gGL.setColorMask(false, false); - llPathingLibInstance->renderPathBookend( gGL, LLPathingLib::LLPL_START ); - llPathingLibInstance->renderPathBookend( gGL, LLPathingLib::LLPL_END ); + llPathingLibInstance->renderSimpleShapeCapsuleID( gGL, id, pos ); gGL.setColorMask(true, false); LLGLEnable blend(GL_BLEND); gPathfindingProgram.uniform1f("alpha_scale", 0.90f); -- cgit v1.2.3