- fix NPE in BulletAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10346 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
2f100c79fb
commit
eb1964a180
@ -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…
x
Reference in New Issue
Block a user