- fix AddToProject adding to scenecomposer too
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7809 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
a4f1eb8b2c
commit
ba85c7c9d9
@ -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…
x
Reference in New Issue
Block a user