- fix bug in copying model with Model Import Tool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2012-10-04 12:35:42 +00:00
parent 6bf538d87b
commit 87bc55e0a7

View File

@ -106,6 +106,7 @@ public final class ImportModel implements ActionListener {
boolean keepFiles = (Boolean) wiz.getProperty("keepfiles");
List<FileObject> assetList = (List<FileObject>) wiz.getProperty("assetfiles");
String importPath = (String) wiz.getProperty("destpath");
Project context = (Project) wiz.getProperty("project");
ProjectAssetManager importManager = (ProjectAssetManager) wiz.getProperty("manager");
ProjectAssetManager manager = context.getLookup().lookup(ProjectAssetManager.class);
if (manager == null) {