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

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

View File

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