- fix moved update calls

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent bb1ff2e9e5
commit 99c7797ea5
  1. 2
      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");

Loading…
Cancel
Save