diff --git a/engine/src/core/com/jme3/scene/Geometry.java b/engine/src/core/com/jme3/scene/Geometry.java index b02196da9..3ae9c3aad 100644 --- a/engine/src/core/com/jme3/scene/Geometry.java +++ b/engine/src/core/com/jme3/scene/Geometry.java @@ -373,11 +373,13 @@ public class Geometry extends Spatial { * Indicate that the transform of this spatial has changed and that * a refresh is required. */ - @Override - protected void setTransformRefresh() { - refreshFlags |= RF_TRANSFORM; - setBoundRefresh(); - } + // NOTE: Spatial has an identical implementation of this method, + // thus it was commented out. +// @Override +// protected void setTransformRefresh() { +// refreshFlags |= RF_TRANSFORM; +// setBoundRefresh(); +// } /** * Recomputes the matrix returned by {@link Geometry#getWorldMatrix() }. diff --git a/engine/src/core/com/jme3/scene/SimpleBatchNode.java b/engine/src/core/com/jme3/scene/SimpleBatchNode.java index 988451e2f..620e18704 100644 --- a/engine/src/core/com/jme3/scene/SimpleBatchNode.java +++ b/engine/src/core/com/jme3/scene/SimpleBatchNode.java @@ -37,9 +37,7 @@ public class SimpleBatchNode extends BatchNode { @Override protected void setTransformRefresh() { - - refreshFlags |= RF_TRANSFORM; - setBoundRefresh(); + super.setTransformRefresh(); for (Batch batch : batches.getArray()) { batch.geometry.setTransformRefresh(); }