diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-06-24 11:42:32 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-06-24 11:42:32 -0600 |
commit | d95d69cbc4063fae1d93ce2f0c4d22d3ef9c8edd (patch) | |
tree | 15e62f15906070a04b8979ccf3d992fd98d94312 /indra/newview/llvieweroctree.cpp | |
parent | 916b68d1cb706b2dc469219f1976f10baadaea08 (diff) |
fix for SH-4284: interesting: viewer does not render cacheable objects on far corner of region when camera moves
Diffstat (limited to 'indra/newview/llvieweroctree.cpp')
-rw-r--r-- | indra/newview/llvieweroctree.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvieweroctree.cpp b/indra/newview/llvieweroctree.cpp index d631985e82..576dbfd2c2 100644 --- a/indra/newview/llvieweroctree.cpp +++ b/indra/newview/llvieweroctree.cpp @@ -1022,6 +1022,11 @@ BOOL LLOcclusionCullingGroup::earlyFail(LLCamera* camera) return TRUE; } +U32 LLOcclusionCullingGroup::getLastOcclusionIssuedTime() +{ + return mOcclusionIssued[LLViewerCamera::sCurCameraID]; +} + void LLOcclusionCullingGroup::checkOcclusion() { if (LLPipeline::sUseOcclusion > 1) |