- fix PhysicsSpace.removeAll() cast bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
c75f157cbb
commit
dafc2afecb
@ -537,7 +537,7 @@ public class PhysicsSpace {
|
||||
List<Spatial> children = ((Node) spatial).getChildren();
|
||||
for (Iterator<Spatial> it = children.iterator(); it.hasNext();) {
|
||||
Spatial spat = it.next();
|
||||
removeAll((Node) spat);
|
||||
removeAll(spat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -527,7 +527,7 @@ public class PhysicsSpace {
|
||||
List<Spatial> children = ((Node) spatial).getChildren();
|
||||
for (Iterator<Spatial> it = children.iterator(); it.hasNext();) {
|
||||
Spatial spat = it.next();
|
||||
removeAll((Node) spat);
|
||||
removeAll(spat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user