From f07737003402f7fa733ec2a150fd247827bc77d8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 15 Jan 2024 20:09:05 -0600 Subject: [PATCH] load mesh data and structure meshes --- src/engine/gameManager/BuildingManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 2cad325d..441b2b38 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -1023,6 +1023,8 @@ public enum BuildingManager { generatedMesh.BoundingLines.add(new Line2D.Float(p3, p4)); generatedMesh.BoundingLines.add(new Line2D.Float(p4, p1)); generatedMesh.boundsRect = boundingBox; + } else{ + Logger.error("No Bounding Box Data For Mesh: " + mesh); } generatedMesh.triangles = new ArrayList<>(); for (ArrayList pointList : triPoints) {