diff --git a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/OptimizeGeometry.java b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/OptimizeGeometry.java index 146240ef4..54e21c243 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/OptimizeGeometry.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/OptimizeGeometry.java @@ -53,7 +53,7 @@ public class OptimizeGeometry extends AbstractToolAction { protected Object doApplyTool(AbstractSceneExplorerNode rootNode) { Node geom = rootNode.getLookup().lookup(Node.class); GeometryBatchFactory.optimize(geom); - return null; + return geom; } @Override