- Turn off light when closing scene

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2013-01-20 18:23:29 +00:00
parent 7b46639a4c
commit 8a6849b40c

View File

@ -459,6 +459,7 @@ public class SceneApplication extends Application implements LookupProvider {
if (oldRequest.getRequester() instanceof SceneApplication) {
camController.disable();
}
enableCamLight(false);
//TODO: state list is not thread safe..
fakeApp.removeCurrentStates();
enqueue(new Callable() {