- fix NPE in BulletAppState

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10346 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 2f100c79fb
commit eb1964a180
  1. 4
      engine/src/bullet-common/com/jme3/bullet/BulletAppState.java

@ -171,6 +171,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
if (!initialized) {
startPhysics();
}
this.app = app;
this.stateManager = stateManager;
initialized = true;
}
@ -339,5 +340,6 @@ public class BulletAppState implements AppState, PhysicsTickListener {
* parallel, update order is kept.<br/> Multiple BulletAppStates will
* execute in parallel in this mode.
*/
PARALLEL,}
PARALLEL,
}
}

Loading…
Cancel
Save