diff --git a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorTopComponent.java b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorTopComponent.java index 20b83a65e..04395b02e 100644 --- a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorTopComponent.java +++ b/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(); } }