diff --git a/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java b/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java index c3b69a32d..e07be45e9 100644 --- a/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java +++ b/engine/src/bullet-common/com/jme3/bullet/BulletAppState.java @@ -157,9 +157,6 @@ public class BulletAppState implements AppState, PhysicsTickListener { //start physics thread(pool) if (threadingType == ThreadingType.PARALLEL) { startPhysicsOnExecutor(); -// } else if (threadingType == ThreadingType.DETACHED) { -// startPhysicsOnExecutor(); -// executor.submit(detachedPhysicsUpdate); } else { pSpace = new PhysicsSpace(worldMin, worldMax, broadphaseType); } @@ -232,9 +229,7 @@ public class BulletAppState implements AppState, PhysicsTickListener { if (!active) { return; } -// if (threadingType != ThreadingType.DETACHED) { pSpace.distributeEvents(); -// } this.tpf = tpf; }