|
|
@ -177,13 +177,13 @@ public class Node extends Spatial 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
|
|
|
|
// a round-trip later on.
|
|
|
|
// a round-trip later on.
|
|
|
|
// NOTE 9/19/09
|
|
|
|
// NOTE 9/19/09
|
|
|
|
// Although it does save a round trip,
|
|
|
|
// Although it does save a round trip,
|
|
|
|
refreshFlags &= ~RF_CHILD_LIGHTLIST; |
|
|
|
|
|
|
|
for (Spatial child : children.getArray()) { |
|
|
|
for (Spatial child : children.getArray()) { |
|
|
|
child.updateGeometricState(); |
|
|
|
child.updateGeometricState(); |
|
|
|
} |
|
|
|
} |
|
|
|