summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-03-20 19:40:14 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-03-20 19:40:14 +0200
commitee39ebd523455a32234cf3d362ca96ebdcd4d86b (patch)
tree30c98a234b915dda0fadd68704e141ebde03113f /indra/newview/pipeline.cpp
parent673e74606e75884e509727914c9f3a2a9700d482 (diff)
Backed out changeset: 29f763ea2f9b
The fix caused SL-10357
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 7be5c86679..e8c9909f8c 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -2514,8 +2514,8 @@ void LLPipeline::updateCull(LLCamera& camera, LLCullResult& result, S32 water_cl
LLSpatialPartition* part = region->getSpatialPartition(i);
if (part)
{
- if (LLViewerRegion::PARTITION_BRIDGE == i || hasRenderType(part->mDrawableType))
- { //pass PARTITION BRIDGE because LLDrawable can be moved to this partition
+ if (hasRenderType(part->mDrawableType))
+ {
part->cull(camera);
}
}