From e8c9de9233b1b3b0dcc15ede5546dcb2db1c7f7e Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 26 Aug 2011 23:21:37 +0000 Subject: [PATCH] SDK: - remove opening of OpenGL window when MaterialEditor opens git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/materials/multiview/MaterialOpenSupport.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialOpenSupport.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialOpenSupport.java index 62d945c89..63e900c62 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialOpenSupport.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialOpenSupport.java @@ -4,7 +4,6 @@ */ package com.jme3.gde.materials.multiview; -import com.jme3.gde.core.sceneviewer.SceneViewerTopComponent; import com.jme3.gde.materials.JMEMaterialDataObject; import org.openide.cookies.CloseCookie; import org.openide.cookies.OpenCookie; @@ -22,9 +21,6 @@ public class MaterialOpenSupport extends OpenSupport implements OpenCookie, Clos } protected CloneableTopComponent createCloneableTopComponent() { - if (!SceneViewerTopComponent.findInstance().isOpened()) { - SceneViewerTopComponent.findInstance().open(); - } JMEMaterialDataObject dobj = (JMEMaterialDataObject) entry.getDataObject(); MaterialEditorTopComponent tc = new MaterialEditorTopComponent(dobj); return tc;