From 7a09fbbeb0e22bd04deb577ebe556a1eb10bb908 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sat, 31 Jan 2015 16:18:13 -0500 Subject: [PATCH] Fix the last part of issue #90 --- .../ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java index 36b67b04e..70a2e78a2 100644 --- a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java +++ b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java @@ -152,6 +152,7 @@ public class MaterialLoader implements AssetLoader { } catch (AssetNotFoundException ex){ logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, matName}); textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage()); + textures[texUnit].setKey(texKey); } }