|
|
@ -81,7 +81,7 @@ public class MaterialExtensionLoader { |
|
|
|
tex.setWrap(WrapMode.Repeat); |
|
|
|
tex.setWrap(WrapMode.Repeat); |
|
|
|
} catch (AssetNotFoundException ex){ |
|
|
|
} catch (AssetNotFoundException ex){ |
|
|
|
logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, key}); |
|
|
|
logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, key}); |
|
|
|
tex = new Texture2D( PlaceholderAssets.getPlaceholderImage() ); |
|
|
|
tex = new Texture2D( PlaceholderAssets.getPlaceholderImage(assetManager) ); |
|
|
|
tex.setWrap(WrapMode.Repeat); |
|
|
|
tex.setWrap(WrapMode.Repeat); |
|
|
|
tex.setKey(texKey); |
|
|
|
tex.setKey(texKey); |
|
|
|
} |
|
|
|
} |
|
|
|