From adf5d3eb14cd7c0b96a70e4e7162df5a435d6a5f Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 18 Mar 2023 21:57:54 -0500 Subject: [PATCH] fix LodQuadTree compiling and in-mobile functionality --- .../src/main/java/com/seibel/lod/core/render/LodQuadTree.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java b/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java index af9a5b1dd..731a57b46 100644 --- a/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java +++ b/core/src/main/java/com/seibel/lod/core/render/LodQuadTree.java @@ -289,7 +289,7 @@ public class LodQuadTree implements AutoCloseable updateAllRenderSectionChildCounts(playerPos); -// updateAllRenderSections(); + updateAllRenderSections(); } catch (Exception e) { @@ -309,7 +309,7 @@ public class LodQuadTree implements AutoCloseable // child and parent are relative to the detail level final MovableGridRingList childRingList = (sectionDetailLevel == TREE_LOWEST_DETAIL_LEVEL) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL -1]; -// final MovableGridRingList parentRingList = (sectionDetailLevel == this.treeMaxDetailLevel) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL +1]; + final MovableGridRingList parentRingList = (sectionDetailLevel == this.treeMaxDetailLevel) ? null : this.renderSectionRingLists[sectionDetailLevel- TREE_LOWEST_DETAIL_LEVEL +1]; ringList.forEachPosOrdered((renderSection, tree2dPos) ->