- revert previous commit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent cac022d9bf
commit 5080e3fe43
  1. 6
      engine/src/bullet/com/jme3/bullet/objects/VehicleWheel.java

@ -420,9 +420,9 @@ public class VehicleWheel implements Savable {
protected void finalize() throws Throwable {
super.finalize();
Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Finalizing Wheel {0}", Long.toHexString(wheelId));
if (wheelId != 0 && wheelIndex != 0) {
finalizeNative(wheelId, wheelIndex);
}
// if (wheelId != 0 && wheelIndex != 0) {
// finalizeNative(wheelId, wheelIndex);
// }
}
private native void finalizeNative(long wheelId, int wheelIndex);

Loading…
Cancel
Save