Fixed issue when BatchNode's light list flag was not cleared

This commit is contained in:
Nehon 2015-03-03 22:11:17 +01:00
parent a78d8a7bd0
commit 1616b08c5b

View File

@ -131,6 +131,7 @@ public class BatchNode extends GeometryGroupNode implements Savable {
updateWorldTransforms();
}
refreshFlags &= ~RF_CHILD_LIGHTLIST;
if (!children.isEmpty()) {
// the important part- make sure child geometric state is refreshed
// first before updating own world bound. This saves