- fix bug in copying model with Model Import Tool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 6bf538d87b
commit 87bc55e0a7
  1. 1
      sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java

@ -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) {

Loading…
Cancel
Save