summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-18 16:14:40 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-18 16:14:40 -0600
commit7bfacf8ca6c7bfdd9b11a2036a914c8f47058a61 (patch)
treefdf041b848cfe9b5dde95e231ff5bb57dca6791d /indra/newview/llvocache.h
parentcf89975f166c1546c60dc51b25558ba74dee5cf5 (diff)
stop other cameras than the world camera to asscee object cache.
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-xindra/newview/llvocache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index 764c06f813..3ee9dcaac8 100755
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -185,6 +185,8 @@ public:
void processOccluders(LLCamera* camera);
void removeOccluder(LLVOCacheGroup* group);
+ void setCullHistory(BOOL has_new_object);
+
private:
void selectBackObjects(LLCamera &camera, F32 back_sphere_radius, F32 projection_area_cutoff); //select objects behind camera.
@@ -192,7 +194,7 @@ public:
static BOOL sNeedsOcclusionCheck;
private:
- U32 mCullHistory[LLViewerCamera::NUM_CAMERAS];
+ U32 mCullHistory;
U32 mCulledTime[LLViewerCamera::NUM_CAMERAS];
std::set<LLVOCacheGroup*> mOccludedGroups;