fixed simple batch node : The SimpleBatchNode must NOT sets the refresh flag on its children when it is transformed. That's the very purpose of the SimpleBatchNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9411 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent c34189dfe5
commit 4adaf86db9
  1. 3
      engine/src/core/com/jme3/scene/SimpleBatchNode.java

@ -37,7 +37,8 @@ public class SimpleBatchNode extends BatchNode {
@Override
protected void setTransformRefresh() {
super.setTransformRefresh();
refreshFlags |= RF_TRANSFORM;
setBoundRefresh();
for (Batch batch : batches.getArray()) {
batch.geometry.setTransformRefresh();
}

Loading…
Cancel
Save