From 5fe5ebc0a2643a62a338db0a0c70b3f6cb4d0877 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Sun, 13 Jul 2025 21:37:25 +1000 Subject: [PATCH] Log --- .../client/core/rendering/building/RenderDataFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java index eb2e6d3b..0d60e15f 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java @@ -4,6 +4,7 @@ import me.cortex.voxy.client.core.model.IdNotYetComputedException; import me.cortex.voxy.client.core.model.ModelFactory; import me.cortex.voxy.client.core.model.ModelQueries; import me.cortex.voxy.client.core.util.ScanMesher2D; +import me.cortex.voxy.common.Logger; import me.cortex.voxy.common.util.MemoryBuffer; import me.cortex.voxy.common.util.UnsafeUtil; import me.cortex.voxy.common.world.WorldEngine; @@ -1607,6 +1608,10 @@ public class RenderDataFactory { return BuiltSection.emptyWithChildren(section.key, section.getNonEmptyChildren()); } + if (this.quadCount >= 1<<16) { + Logger.warn("Large quad count for section " + WorldEngine.pprintPos(section.key) + " is " + this.quadCount); + } + if (this.minX<0 || this.minY<0 || this.minZ<0 || 32