Merge pull request #200 from GreenCubes/master

Fix loading FBX with absolute image path
experimental
Kirill Vainer 10 years ago
commit 9b1b760056
  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