xiewj 4 months ago
parent
commit
80b4f4e467

+ 2 - 0
src/main/java/com/fdkankan/fusion/common/ai/BBoxHierarchyBuilder.java

@@ -47,6 +47,8 @@ public class BBoxHierarchyBuilder {
         JSONObject res=new JSONObject();
         JSONArray topLevel = new JSONArray();
         res.put("floorsName",floors.getFloorsName());
+        res.put("imageHeight",floors.getImageHeight());
+        res.put("imageWidth",floors.getImageWidth());
         for (ShapeWrapper parent : allShapes) {
             if (!parent.tag.getCategory().startsWith("Tag_")) continue;