V2 spatial partition, and all the pipeline changes that go with it.
Note: Deferred mode is not finished, and thus broken. Don't use!
This commit is contained in:
@@ -101,6 +101,12 @@ LLVOTree::~LLVOTree()
|
||||
}
|
||||
}
|
||||
|
||||
//static
|
||||
bool LLVOTree::isTreeRenderingStopped()
|
||||
{
|
||||
return LLVOTree::sTreeFactor < LLVOTree::sLODAngles[4 - 1] ;
|
||||
}
|
||||
|
||||
// static
|
||||
void LLVOTree::initClass()
|
||||
{
|
||||
@@ -1324,9 +1330,8 @@ U32 LLVOTree::getPartitionType() const
|
||||
}
|
||||
|
||||
LLTreePartition::LLTreePartition()
|
||||
: LLSpatialPartition(0)
|
||||
: LLSpatialPartition(0, FALSE, 0)
|
||||
{
|
||||
mRenderByGroup = FALSE;
|
||||
mDrawableType = LLPipeline::RENDER_TYPE_TREE;
|
||||
mPartitionType = LLViewerRegion::PARTITION_TREE;
|
||||
mSlopRatio = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user