summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-03-28 14:55:55 -0400
committerprep <prep@lindenlab.com>2012-03-28 14:55:55 -0400
commit5722c5923cb763a165c50c1d2be426b2e532ea65 (patch)
tree2df2f9f2fedc47782f7ad732bf15b0e5f2897664 /indra/newview
parentacaa680940b6c6e6df4844be3f4c1646dc88491f (diff)
Fixed blend caps for navmesh tris and updated navmesh face alpha to be totally opaque.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/settings.xml2
-rw-r--r--indra/newview/pipeline.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index aac04ae15f..37e4a43449 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -13763,7 +13763,7 @@
<key>Type</key>
<string>F32</string>
<key>Value</key>
- <real>0</real>
+ <real>255</real>
</map>
</map>
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 8a691d3a16..89824d9da6 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4337,6 +4337,7 @@ void LLPipeline::renderDebug()
{
glLineWidth(2.0f);
LLGLEnable cull(GL_CULL_FACE);
+ LLGLEnable blend(GL_BLEND);
if ( pathfindingConsole->isRenderWorld() )
{
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
@@ -4371,6 +4372,7 @@ void LLPipeline::renderDebug()
//User designated path
if ( pathfindingConsole->isRenderPath() )
{
+ LLGLEnable blend(GL_BLEND);
llPathingLibInstance->renderPath();
}
}