GeometryBatchFactory, fixed wrong model bounds updating

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent 5095396ce3
commit 2c9bef5ebf
  1. 4
      engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java

@ -333,10 +333,10 @@ public class GeometryBatchFactory {
makeLods(geomsForMat, mesh);
}
mesh.updateCounts();
mesh.updateBound();
Geometry out = new Geometry("batch[" + (batchNum++) + "]", mesh);
out.setMaterial(mat);
out.updateModelBound();
retVal.add(out);
}

Loading…
Cancel
Save