- fix in lifecycle of BulletAppState

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

@ -173,7 +173,6 @@ public class BulletAppState implements AppState, PhysicsTickListener {
}
this.app = app;
this.stateManager = stateManager;
initialized = true;
}
public boolean isInitialized() {
@ -273,6 +272,7 @@ public class BulletAppState implements AppState, PhysicsTickListener {
executor.shutdown();
executor = null;
}
initialized = false;
pSpace.removeTickListener(this);
pSpace.destroy();
}

Loading…
Cancel
Save