Debug lines removed

experimental
Bebul 10 years ago
parent 6636fba06a
commit 7f66641b74
  1. 9
      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) if (children.size() > 4)
{ {
BoundingVolume bv = this.getWorldBound(); BoundingVolume bv = this.getWorldBound();
if (bv==null) if (bv==null) return 0;
return 0;
CollisionResults bvColRes = new CollisionResults(); CollisionResults bvColRes = new CollisionResults();
if (bv.collideWith(other, bvColRes) == 0) if (bv.collideWith(other, bvColRes) == 0) return 0;
{
System.out.println("Skipping collideWith "+getName());
return 0;
}
} }
for (Spatial child : children.getArray()){ for (Spatial child : children.getArray()){
total += child.collideWith(other, results); total += child.collideWith(other, results);

Loading…
Cancel
Save