- close SceneViewer when scene is closed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 13cb55d28a
commit c87cbc864d
  1. 1
      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();

Loading…
Cancel
Save