فهرست منبع

Removed the override that avoided a CompoundCollisionShape to be scaled

NemesisMate 8 سال پیش
والد
کامیت
31933ff365
1فایلهای تغییر یافته به همراه0 افزوده شده و 8 حذف شده
  1. 0 8
      jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/CompoundCollisionShape.java

+ 0 - 8
jme3-bullet/src/main/java/com/jme3/bullet/collision/shapes/CompoundCollisionShape.java

@@ -119,14 +119,6 @@ public class CompoundCollisionShape extends CollisionShape {
         return children;
     }
 
-    /**
-     * WARNING - CompoundCollisionShape scaling has no effect.
-     */
-    @Override
-    public void setScale(Vector3f scale) {
-        Logger.getLogger(this.getClass().getName()).log(Level.WARNING, "CompoundCollisionShape cannot be scaled");
-    }
-
     private native long createShape();
     
     private native long addChildShape(long objectId, long childId, Vector3f location, Matrix3f rotation);