Fixes #373 - Faulty Loggings of a SphereCollissionShape when using native bullet

experimental
MeFisto94 9 years ago
parent b28f7e9293
commit 5064552905
  1. 2
      jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/SphereCollisionShape.java

@ -91,7 +91,7 @@ public class SphereCollisionShape extends CollisionShape {
// new SphereShape(radius);
// objectId.setLocalScaling(Converter.convert(getScale()));
// objectId.setMargin(margin);
setScale(scale);
super.setScale(scale); // Set the scale to 1
setMargin(margin);
}

Loading…
Cancel
Save