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

experimental
Nehon 10 years ago
parent a78d8a7bd0
commit 1616b08c5b
  1. 1
      jme3-core/src/main/java/com/jme3/scene/BatchNode.java

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

Loading…
Cancel
Save