add a FIXME to LodQuadTree for worldGen in worlds without DH data

This commit is contained in:
James Seibel
2023-04-30 20:34:05 -05:00
parent 64a1120be2
commit c8c927d8f8
@@ -181,6 +181,8 @@ public class LodQuadTree extends QuadTree<LodRenderSection> implements AutoClose
boolean childSectionLoaded = this.recursivelyUpdateRenderSectionNode(playerPos, rootNode, childNode, childPos, parentRenderSectionIsEnabled);
allChildrenSectionsAreLoaded = childSectionLoaded && allChildrenSectionsAreLoaded;
}
// FIXME having world generation enabled in a pre-generated world that doesn't have any DH data can cause this to happen
// surprisingly reloadPos() doesn't appear to be the culprit, maybe there is an issue with reloading/changing the full data source?
LodUtil.assertTrue(allChildrenSectionsAreLoaded, "Potential QuadTree concurrency issue. All child sections should be enabled and ready to render.");