- Disable light and info button when closing SceneViewer -.-

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent d5f93755d7
commit 5b1076ba42
  1. 4
      sdk/jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.java

@ -351,8 +351,8 @@ public final class SceneViewerTopComponent extends TopComponent {
// oglCanvas.setActiveUpdates(false);
SceneRequest req = SceneApplication.getApplication().getCurrentSceneRequest();
if (req != null) {
enableCamLight.setEnabled(false);
enableStats.setEnabled(false);
enableCamLight.setSelected(false);
enableStats.setSelected(false);
SceneApplication.getApplication().closeScene(req);
}
}

Loading…
Cancel
Save