Bullet Native:

- fix infinite loop bug in PhysicsRigidBody.getGravity()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent deae399075
commit dd1ccc7ed2
  1. 2
      engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java

@ -341,7 +341,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
if (gravity == null) {
gravity = new Vector3f();
}
getGravity(gravity);
getGravity(objectId, gravity);
return gravity;
}

Loading…
Cancel
Save