aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawable.cpp')
-rw-r--r--linden/indra/newview/lldrawable.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/lldrawable.cpp b/linden/indra/newview/lldrawable.cpp
index 3a2841d..d2b2a99 100644
--- a/linden/indra/newview/lldrawable.cpp
+++ b/linden/indra/newview/lldrawable.cpp
@@ -1188,10 +1188,11 @@ void LLSpatialBridge::setVisible(LLCamera& camera_in, std::vector<LLDrawable*>*
1188 LLVector3 center = (mExtents[0] + mExtents[1]) * 0.5f; 1188 LLVector3 center = (mExtents[0] + mExtents[1]) * 0.5f;
1189 LLVector3 size = (mExtents[1]-mExtents[0]) * 0.5f; 1189 LLVector3 size = (mExtents[1]-mExtents[0]) * 0.5f;
1190 1190
1191 if (camera_in.AABBInFrustumNoFarClip(center, size) && 1191 if (LLPipeline::sImpostorRender ||
1192 AABBSphereIntersect(mExtents[0], mExtents[1], camera_in.getOrigin(), camera_in.mFrustumCornerDist)) 1192 (camera_in.AABBInFrustumNoFarClip(center, size) &&
1193 AABBSphereIntersect(mExtents[0], mExtents[1], camera_in.getOrigin(), camera_in.mFrustumCornerDist)))
1193 { 1194 {
1194 if (LLPipeline::calcPixelArea(center, size, camera_in) < FORCE_INVISIBLE_AREA) 1195 if (!LLPipeline::sImpostorRender && LLPipeline::calcPixelArea(center, size, camera_in) < FORCE_INVISIBLE_AREA)
1195 { 1196 {
1196 return; 1197 return;
1197 } 1198 }