- remove opening of OpenGL window when MaterialEditor opens

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

Loading…
Cancel
Save