From 718bb09db10ff3af5e1a422005d4af5dbf771834 Mon Sep 17 00:00:00 2001 From: Rena4ka Date: Tue, 9 Dec 2014 05:30:31 +0300 Subject: [PATCH] Fix loading FBX with absolute image path --- .../src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java b/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java index bf9b95823..e767763e1 100644 --- a/jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java +++ b/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);