diff --git a/engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java b/engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java index 96a07bd55..10cc17429 100644 --- a/engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java +++ b/engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java @@ -352,6 +352,8 @@ public class GeometryBatchFactory { Geometry geom = new Geometry(); Mesh mesh = new Mesh(); mergeGeometries(geometries, mesh, atlas); + mesh.updateCounts(); + mesh.updateBound(); geom.setMesh(mesh); Material mat = new Material(mgr, "Common/MatDefs/Light/Lighting.j3md");