- fix moved update calls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
bb1ff2e9e5
commit
99c7797ea5
@ -352,6 +352,8 @@ public class GeometryBatchFactory {
|
|||||||
Geometry geom = new Geometry();
|
Geometry geom = new Geometry();
|
||||||
Mesh mesh = new Mesh();
|
Mesh mesh = new Mesh();
|
||||||
mergeGeometries(geometries, mesh, atlas);
|
mergeGeometries(geometries, mesh, atlas);
|
||||||
|
mesh.updateCounts();
|
||||||
|
mesh.updateBound();
|
||||||
geom.setMesh(mesh);
|
geom.setMesh(mesh);
|
||||||
|
|
||||||
Material mat = new Material(mgr, "Common/MatDefs/Light/Lighting.j3md");
|
Material mat = new Material(mgr, "Common/MatDefs/Light/Lighting.j3md");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user