summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-05 14:48:26 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-05 14:48:26 -0600
commit576b9339977f50edb11a799d7a274610263f9fdc (patch)
tree873dbceba5d12cd23736b599ee76b87eaa9d247e /indra/newview/llspatialpartition.cpp
parent3059b59b619123caf5cc3137ab0b983c28a2962b (diff)
fix for SH-4397: Object cache occlusion culling results are not always correct
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rwxr-xr-xindra/newview/llspatialpartition.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index ad659baa9e..a5045e6a4c 100755
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -265,12 +265,6 @@ BOOL LLSpatialGroup::isHUDGroup()
return getSpatialPartition() && getSpatialPartition()->isHUDPartition() ;
}
-BOOL LLSpatialGroup::isRecentlyVisible() const
-{
- const S32 MIN_VIS_FRAME_RANGE = 2;
- return (LLDrawable::getCurrentFrame() - mVisible[LLViewerCamera::sCurCameraID]) < MIN_VIS_FRAME_RANGE ;
-}
-
void LLSpatialGroup::validate()
{
ll_assert_aligned(this,64);