From 7a0713cd59954d07aa666ef111b51cbbddd113e0 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 5 Oct 2011 02:29:13 +0000 Subject: [PATCH] - fix detaching of tools node in scenecomposer git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/gde/scenecomposer/SceneComposerToolController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java index 162c228a3..5067c2a56 100644 --- a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java +++ b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java @@ -73,7 +73,8 @@ public class SceneComposerToolController extends SceneToolController { @Override public void cleanup() { super.cleanup(); - SceneApplication.getApplication().getRenderManager().removeMainView(overlayView); + //SceneApplication.getApplication().getRenderManager().removeMainView(overlayView); + overlayView.detachScene(onTopToolsNode); cameraController = null; editorController = null; onTopToolsNode.detachAllChildren();