diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-08-05 14:48:26 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-08-05 14:48:26 -0600 |
commit | 576b9339977f50edb11a799d7a274610263f9fdc (patch) | |
tree | 873dbceba5d12cd23736b599ee76b87eaa9d247e /indra/newview/llspatialpartition.cpp | |
parent | 3059b59b619123caf5cc3137ab0b983c28a2962b (diff) |
fix for SH-4397: Object cache occlusion culling results are not always correct
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rwxr-xr-x | indra/newview/llspatialpartition.cpp | 6 |
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); |