Fix loading FBX with absolute image path

experimental
Rena4ka 10 years ago
parent 1b43cb6d4a
commit 718bb09db1
  1. 2
      jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java

@ -458,7 +458,7 @@ public class SceneLoader implements AssetLoader {
for(FBXElement e : element.children) {
if(e.id.equals("Type"))
data.type = (String) e.properties.get(0);
else if(e.id.equals("Filename"))
else if(e.id.equals("FileName"))
data.filename = (String) e.properties.get(0);
else if(e.id.equals("RelativeFilename"))
data.relativeFilename = (String) e.properties.get(0);

Loading…
Cancel
Save