- refresh parent and created folder after model import

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 86a4ad3718
commit b6386751e4
  1. 6
      sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java

@ -134,8 +134,10 @@ public final class ImportModel implements ActionListener {
}
}
}
FileObject dest = FileUtil.toFileObject(new File(manager.getAssetFolderName() + "/" + importPath).getParentFile());
dest.refresh();
FileObject importFolder = manager.getAssetFolder().getFileObject(importPath);//FileUtil.toFileObject(new File(manager.getAssetFolderName() + "/" + importPath));
FileObject importParentFolder = importFolder.getParent();
importParentFolder.refresh();
importFolder.refresh();
}
/**

Loading…
Cancel
Save