ソースを参照

Debug lines removed

Bebul 10 年 前
コミット
7f66641b74
1 ファイル変更2 行追加7 行削除
  1. 2 7
      jme3-core/src/main/java/com/jme3/scene/Node.java

+ 2 - 7
jme3-core/src/main/java/com/jme3/scene/Node.java

@@ -494,15 +494,10 @@ public class Node extends Spatial implements Savable {
         if (children.size() > 4)
         {
           BoundingVolume bv = this.getWorldBound();
-          if (bv==null) 
-            return 0;
+          if (bv==null) return 0;
 
           CollisionResults bvColRes = new CollisionResults();
-          if (bv.collideWith(other, bvColRes) == 0) 
-          {
-            System.out.println("Skipping collideWith "+getName());
-            return 0;
-          }
+          if (bv.collideWith(other, bvColRes) == 0) return 0;
         }
         for (Spatial child : children.getArray()){
             total += child.collideWith(other, results);