- fix detaching of tools node in scenecomposer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent a236c7d03b
commit 7a0713cd59
  1. 3
      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();

Loading…
Cancel
Save