Debug lines removed
This commit is contained in:
parent
6636fba06a
commit
7f66641b74
@ -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…
x
Reference in New Issue
Block a user