- remove updateModelBounds() call from BasicGame template

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7173 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-04-03 15:36:53 +00:00
parent 9ef10e5ac7
commit 07f9cf0d23

View File

@ -23,7 +23,6 @@ public class Main extends SimpleApplication {
public void simpleInitApp() { public void simpleInitApp() {
Box b = new Box(Vector3f.ZERO, 1, 1, 1); Box b = new Box(Vector3f.ZERO, 1, 1, 1);
Geometry geom = new Geometry("Box", b); Geometry geom = new Geometry("Box", b);
geom.updateModelBound();
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat.setColor("Color", ColorRGBA.Blue); mat.setColor("Color", ColorRGBA.Blue);