Revert LOD hole bandaid fix due to performance issues

reverts main change in 4a069b42d8
This commit is contained in:
James Seibel
2023-07-16 09:25:44 -05:00
parent 51bb3eec3d
commit 76b464d5d7
@@ -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