- Disable light and info button when closing SceneViewer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2013-01-20 19:18:03 +00:00
parent dc8dabb024
commit d5f93755d7

@ -351,6 +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);
SceneApplication.getApplication().closeScene(req);
}
}