diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 22:38:39 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-11-13 22:38:39 -0700 |
commit | 6ec5d9943d4637543eacca805d73f859c25a7e07 (patch) | |
tree | 8e548b21d24464b513afe9a41ca10ff1c985593e /indra/newview | |
parent | 6d9d382c73c026f1dcb2f9d2810994a66cd2bd9d (diff) | |
parent | 6a0a5c18e33be6889f12a9954861c446acb9113b (diff) |
Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
Diffstat (limited to 'indra/newview')
-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, |