- fix double-close in TerrainEditor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8660 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent c3a618faf5
commit 5e35a60622
  1. 2
      sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorTopComponent.java

@ -1102,8 +1102,8 @@ public final class TerrainEditorTopComponent extends TopComponent implements Sce
if (request.equals(currentRequest)) {
setActivatedNodes(new org.openide.nodes.Node[]{});
SceneApplication.getApplication().removeSceneListener(this);
setSceneInfo(null, false);
currentRequest = null;
setSceneInfo(null, false);
cleanupControllers();
}
}

Loading…
Cancel
Save