for SH-3976: interesting: make new object cache be able to handle shadows.
parent
81edcde603
commit
79dc4a1190
|
|
@ -377,8 +377,7 @@ LLVOCachePartition::LLVOCachePartition(LLViewerRegion* regionp)
|
|||
{
|
||||
mRegionp = regionp;
|
||||
mPartitionType = LLViewerRegion::PARTITION_VO_CACHE;
|
||||
mVisitedTime = 0;
|
||||
|
||||
|
||||
new LLviewerOctreeGroup(mOctree);
|
||||
}
|
||||
|
||||
|
|
@ -445,12 +444,6 @@ S32 LLVOCachePartition::cull(LLCamera &camera)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(mVisitedTime == LLViewerOctreeEntryData::getCurrentFrame())
|
||||
{
|
||||
return 0; //already visited.
|
||||
}
|
||||
mVisitedTime = LLViewerOctreeEntryData::getCurrentFrame();
|
||||
|
||||
((LLviewerOctreeGroup*)mOctree->getListener(0))->rebound();
|
||||
|
||||
//localize the camera
|
||||
|
|
|
|||
|
|
@ -151,9 +151,6 @@ public:
|
|||
void addEntry(LLViewerOctreeEntry* entry);
|
||||
void removeEntry(LLViewerOctreeEntry* entry);
|
||||
/*virtual*/ S32 cull(LLCamera &camera);
|
||||
|
||||
private:
|
||||
U32 mVisitedTime;
|
||||
};
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue