diff --git a/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java b/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java index fd12dcb89..34d504744 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -190,7 +190,6 @@ public class PhysicsSpace { private void preTick_native(float f) { AppTask task = pQueue.poll(); - task = pQueue.poll(); while (task != null) { while (task.isCancelled()) { task = pQueue.poll(); diff --git a/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java b/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java index 484f52133..e96002669 100644 --- a/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java +++ b/jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java @@ -242,7 +242,6 @@ public class PhysicsSpace { public void internalTick(DynamicsWorld dw, float f) { //execute task list AppTask task = pQueue.poll(); - task = pQueue.poll(); while (task != null) { while (task.isCancelled()) { task = pQueue.poll();