ryerrabelli / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Exception when importing model from root path #412

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Place a model file in a root path, such as C:\
2. Attempt to load this model using the jMP "Import Model" dialog
3. See below for error

What is the expected output? What do you see instead?
The model I am trying to load is called "MyModel.mesh.xml" and it is placed in 
E:\
The following exception occurs when attempting to load the model:

com.jme3.asset.AssetNotFoundException: yModel.mesh.xml
    at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:239)
    at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:376)
[catch] at 
com.jme3.gde.ogrexml.OgreXMLDataObject.loadAsset(OgreXMLDataObject.java:112)
    at com.jme3.gde.ogrexml.OgreXMLDataObject.loadAsset(OgreXMLDataObject.java:58)
    at com.jme3.gde.core.assets.AssetData.loadAsset(AssetData.java:73)
    at com.jme3.gde.modelimporter.ModelImporterVisualPanel1.loadModel(ModelImporterVisualPanel1.java:97)
    at com.jme3.gde.modelimporter.ModelImporterVisualPanel1.loadModel(ModelImporterVisualPanel1.java:75)
    at com.jme3.gde.modelimporter.ModelImporterVisualPanel1$8.run(ModelImporterVisualPanel1.java:320)
    at java.lang.Thread.run(Thread.java:662)

It seems that jMP is cutting off the first letter from the path when loading 
this model

Original issue reported on code.google.com by ShadowIs...@gmail.com on 6 Nov 2011 at 12:23

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r8580.

Original comment by normen667 on 6 Nov 2011 at 1:02