Added the ability to turn off the external paging in of PagedLOD children.
This commit is contained in:
@@ -37,6 +37,10 @@ void PagedLOD::write(DataOutputStream* out)
|
||||
out->writeFloat(getRadius());
|
||||
out->writeUInt(getNumChildrenThatCannotBeExpired());
|
||||
|
||||
if ( out->getVersion() >= VERSION_0041 )
|
||||
{
|
||||
out->writeBool(getDisableExternalChildrenPaging());
|
||||
}
|
||||
|
||||
unsigned int numChildrenToWriteOut = 0;
|
||||
|
||||
@@ -140,6 +144,11 @@ void PagedLOD::read(DataInputStream* in)
|
||||
setRadius(in->readFloat());
|
||||
setNumChildrenThatCannotBeExpired(in->readUInt());
|
||||
|
||||
if ( in->getVersion() >= VERSION_0041 )
|
||||
{
|
||||
setDisableExternalChildrenPaging(in->readBool());
|
||||
}
|
||||
|
||||
|
||||
// Read groups properties.
|
||||
// Read number of children.
|
||||
|
||||
Reference in New Issue
Block a user