diff --git a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/UberAssetLocator.java b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/UberAssetLocator.java index 509d22078..edf42576e 100644 --- a/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/UberAssetLocator.java +++ b/sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/UberAssetLocator.java @@ -148,7 +148,7 @@ public class UberAssetLocator implements AssetLocator { //TODO: better attempt to actually find file.. :) String rootPath = this.rootPath != null ? this.rootPath.replace("\\", "/") : null; if (rootPath != null) { - File file = new File(rootPath + "/" + key.getName()); + File file = new File(rootPath + key.getName()); file = FileUtil.normalizeFile(file); FileObject fileObject = FileUtil.toFileObject(file); if (fileObject != null) { @@ -198,6 +198,8 @@ public class UberAssetLocator implements AssetLocator { if (file == null) { return null; } + logger.log(Level.INFO, "Got user file input"); + file = FileUtil.normalizeFile(file); return FileUtil.toFileObject(file); }