From 8a6849b40ca8e65c4c09468508fb9b233b68ce49 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 20 Jan 2013 18:23:29 +0000 Subject: [PATCH] SDK: - Turn off light when closing scene git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 823a17b24..edc0d6b0c 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -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() {