diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 42cc586ad..da5500462 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -421,6 +421,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo public void run() { if (node == null) { SceneViewerTopComponent.findInstance().setActivatedNodes(new org.openide.nodes.Node[]{}); + SceneViewerTopComponent.findInstance().close(); } else { SceneViewerTopComponent.findInstance().setActivatedNodes(new org.openide.nodes.Node[]{node}); SceneViewerTopComponent.findInstance().open();