- 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
This commit is contained in:
parent
bbe6fc5567
commit
ad7013e228
@ -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…
x
Reference in New Issue
Block a user