summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-11-13 22:38:19 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-11-13 22:38:19 -0700
commit6a0a5c18e33be6889f12a9954861c446acb9113b (patch)
tree9733dddb830eeae2981213ca3c1d5fadb77d9ab7 /indra/newview/llvocache.cpp
parent754a671c93f55c3e1cde6cd2ee0771156f7abaf5 (diff)
more fix for SH-4607: Create new object cache tuning parameters
fix remote objects not showing up.
Diffstat (limited to 'indra/newview/llvocache.cpp')
-rwxr-xr-xindra/newview/llvocache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index 92a8f7b18e..8c28d9e440 100755
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -865,7 +865,7 @@ S32 LLVOCachePartition::cull(LLCamera &camera, bool do_occlusion)
//localize the camera
LLVector3 region_agent = mRegionp->getOriginAgent();
- camera.calcRegionFrustumPlanes(region_agent);
+ camera.calcRegionFrustumPlanes(region_agent, gAgentCamera.mDrawDistance);
mFrontCull = TRUE;
LLVOCacheOctreeCull culler(&camera, mRegionp, region_agent, do_occlusion && use_object_cache_occlusion,