- fix AddToProject adding to scenecomposer too

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

Loading…
Cancel
Save