From 67a8ed6fc77e498b86c929ababa4bd0533de1bfc Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 1 Aug 2011 17:48:54 +0000 Subject: [PATCH] - disable opening of SceneViewer for OffScenePanels git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7961 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/core/scene/OffScenePanel.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/OffScenePanel.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/OffScenePanel.java index 093193bde..566c73e08 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/OffScenePanel.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/OffScenePanel.java @@ -126,14 +126,14 @@ public class OffScenePanel extends javax.swing.JPanel implements SceneProcessor } public void startPreview() { - java.awt.EventQueue.invokeLater(new Runnable() { - - public void run() { - if(!SceneViewerTopComponent.findInstance().isOpened()){ - SceneViewerTopComponent.findInstance().open(); - } - } - }); +// java.awt.EventQueue.invokeLater(new Runnable() { +// +// public void run() { +// if(!SceneViewerTopComponent.findInstance().isOpened()){ +// SceneViewerTopComponent.findInstance().open(); +// } +// } +// }); SceneApplication.getApplication().enqueue(new Callable() { public Object call() throws Exception {