From ba85c7c9d9b1871c240adf663544edfcb6b75b09 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sat, 2 Jul 2011 14:01:31 +0000 Subject: [PATCH] - fix AddToProject adding to scenecomposer too git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7809 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/assetpack/actions/AddToProjectAction.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/actions/AddToProjectAction.java b/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/actions/AddToProjectAction.java index 444b1c39a..06b81e35d 100644 --- a/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/actions/AddToProjectAction.java +++ b/sdk/jme3-assetpack-support/src/com/jme3/gde/assetpack/actions/AddToProjectAction.java @@ -54,7 +54,6 @@ public final class AddToProjectAction implements Action { } if (modelFolder.isFolder()) { AssetPackLoader.addModelFiles(pm, mgr, conf); - SceneComposerTopComponent.findInstance().addModel(model); OutputStream out = modelFolder.createAndOpen(conf.getAssetElement().getAttribute("name") + ".j3o"); BinaryExporter.getInstance().save(model, out); out.close();