From 3991a0f765d3d493bcc08ac2aadc707934f4d640 Mon Sep 17 00:00:00 2001
From: ruslantproductengine <ruslantproductengine@lindenlab.com>
Date: Fri, 29 Jun 2018 17:22:51 +0300
Subject: MAINT-8335 Derendering Avatar type also derenders some rezzed mesh
 objects Fixed

---
 indra/newview/pipeline.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'indra/newview')

diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index e541c1054e..5699d47ad8 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 (hasRenderType(part->mDrawableType))
-				{
+				if (LLViewerRegion::PARTITION_BRIDGE == i || hasRenderType(part->mDrawableType))
+				{ //pass PARTITION BRIDGE because LLDrawable can be moved to this partition
 					part->cull(camera);
 				}
 			}
-- 
cgit v1.2.3