summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-01-29 16:10:58 -0600
committerDave Parks <davep@lindenlab.com>2013-01-29 16:10:58 -0600
commit4dfd99069f4f44c2ef970eb41f9e1b66e9bb564d (patch)
tree640f1bb8fce4a33d3e26032aaefb586416b23708 /indra/newview/pipeline.cpp
parentf566cd861b1609957ad22c58dbda5561964d6727 (diff)
MAINT-2288 Fix for physics shapes not showing up on "active" objects.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index a7e8fdc43c..4306b3da12 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4586,18 +4586,6 @@ void LLPipeline::renderPhysicsDisplay()
}
}
- for (LLCullResult::bridge_iterator i = sCull->beginVisibleBridge(); i != sCull->endVisibleBridge(); ++i)
- {
- LLSpatialBridge* bridge = *i;
- if (!bridge->isDead() && hasRenderType(bridge->mDrawableType))
- {
- gGL.pushMatrix();
- gGL.multMatrix((F32*)bridge->mDrawable->getRenderMatrix().mMatrix);
- bridge->renderPhysicsShapes();
- gGL.popMatrix();
- }
- }
-
gGL.flush();
if (LLGLSLShader::sNoFixedFunction)