Commit 2beb98b4 authored by Human Gamer's avatar Human Gamer

Fixed Small Bug with ConvexHulls in OBJ Import

parent 5acb707a
Pipeline #1853000 skipped
......@@ -220,7 +220,7 @@ public class DifInspector
DifInspector.this.exportMap();
}
});
fileMenu.add(exportMap);
//fileMenu.add(exportMap);
JMenuItem exportCsx = new JMenuItem("Export Csx");
exportCsx.addActionListener(new ActionListener() {
......
......@@ -282,10 +282,10 @@ public class InteriorBuilder
float maxY = 0;
float minZ = 0;
float maxZ = 0;
int hullStart = i * 8;
int hullStart = surfaces.getObject(i).getWindingStart();
int surfaceStart = i;
int planeStart = surfaces.getObject(i).getPlaneIndex();
short hullCount = 8;
short hullCount = (short)surfaces.getObject(i).getWindingCount();
short surfaceCount = 1;
int polyListPlaneStart = 0;
int polyListPointStart = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment