- fix bullet physics space to execute all tasks, thanks to @madjack

git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
nor..67 11 years ago
parent bbe6fc5567
commit ad7013e228
  1. 1
      jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java
  2. 1
      jme3-jbullet/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();

@ -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();

Loading…
Cancel
Save