diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 22:38:19 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 22:38:19 -0700 |
commit | 6a0a5c18e33be6889f12a9954861c446acb9113b (patch) | |
tree | 9733dddb830eeae2981213ca3c1d5fadb77d9ab7 /indra/newview/llvocache.cpp | |
parent | 754a671c93f55c3e1cde6cd2ee0771156f7abaf5 (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-x | indra/newview/llvocache.cpp | 2 |
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, |