Revert LOD hole bandaid fix due to performance issues
reverts main change in 4a069b42d8
This commit is contained in:
+6
-6
@@ -373,12 +373,12 @@ public class FullDataFileHandler implements IFullDataSourceProvider
|
||||
private void writeChunkDataToMetaFile(DhSectionPos sectionPos, ChunkSizedFullDataAccessor chunkData)
|
||||
{
|
||||
FullDataMetaFile metaFile = this.fileBySectionPos.get(sectionPos);
|
||||
if (metaFile == null && sectionPos.sectionDetailLevel <= this.topDetailLevel.get())
|
||||
{
|
||||
// create a new file if one doesn't exist,
|
||||
// this is done so we don't end up with holes where LODs should have been generated
|
||||
metaFile = this.getLoadOrMakeFile(sectionPos, true);
|
||||
}
|
||||
// if (metaFile == null && sectionPos.sectionDetailLevel <= this.topDetailLevel.get())
|
||||
// {
|
||||
// // create a new file if one doesn't exist,
|
||||
// // this is done so we don't end up with holes where LODs should have been generated
|
||||
// metaFile = this.getLoadOrMakeFile(sectionPos, true);
|
||||
// }
|
||||
if (metaFile != null)
|
||||
{
|
||||
// there is a file for this position
|
||||
|
||||
Reference in New Issue
Block a user