From 5e35a60622de7f5249ee3afc4041245364091e74 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 13 Nov 2011 19:52:30 +0000 Subject: [PATCH] - fix double-close in TerrainEditor git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8660 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/terraineditor/TerrainEditorTopComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }