- 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
This commit is contained in:
parent
b27a0ae7fb
commit
866b607acb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user