- Fix bug in physics stop button

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8604 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 5826b4cefe
commit 200801cd4e
  1. 1
      sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java

@ -584,6 +584,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo
if (physicsState != null) {
physicsState.getPhysicsSpace().removeAll(rootNode);
getStateManager().detach(physicsState);
physicsState = null;
}
}
return null;

Loading…
Cancel
Save