diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-08-05 14:48:26 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-08-05 14:48:26 -0600 |
commit | 576b9339977f50edb11a799d7a274610263f9fdc (patch) | |
tree | 873dbceba5d12cd23736b599ee76b87eaa9d247e /indra/newview/llvocache.h | |
parent | 3059b59b619123caf5cc3137ab0b983c28a2962b (diff) |
fix for SH-4397: Object cache occlusion culling results are not always correct
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-x | indra/newview/llvocache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 816ef88dc4..7de8185315 100755 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -159,11 +159,12 @@ public: void removeEntry(LLViewerOctreeEntry* entry); /*virtual*/ S32 cull(LLCamera &camera); void addOccluders(LLviewerOctreeGroup* gp); + void resetOccluders(); static LLTrace::MemStatHandle sMemStat; -private: - void processOccluders(LLCamera* camera, const LLVector3* region_agent); +public: + void processOccluders(LLCamera* camera); private: std::set<LLOcclusionCullingGroup*> mOccludedGroups; |