Explorar o código

- remove leftover code from BulletAppState

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10348 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 %!s(int64=12) %!d(string=hai) anos
pai
achega
cd7d47d50e

+ 0 - 5
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;
     }