- make OptimizeGeometry trigger a change in the file TODO: undo still doesn't work but now the undo button will get lit by the action

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8584 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent b27a0ae7fb
commit 866b607acb
  1. 2
      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) { protected Object doApplyTool(AbstractSceneExplorerNode rootNode) {
Node geom = rootNode.getLookup().lookup(Node.class); Node geom = rootNode.getLookup().lookup(Node.class);
GeometryBatchFactory.optimize(geom); GeometryBatchFactory.optimize(geom);
return null; return geom;
} }
@Override @Override

Loading…
Cancel
Save