diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java index 2248efdd3..aea26e472 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureHelper.java @@ -796,6 +796,10 @@ public class TextureHelper extends AbstractBlenderHelper { * @return the loaded image or null if the image cannot be found */ protected Texture loadTextureFromFile(String name, BlenderContext blenderContext) { + if (!name.contains(".")){ + return null; // no extension means not a valid image + } + AssetManager assetManager = blenderContext.getAssetManager(); name = name.replaceAll("\\\\", "\\/"); Texture result = null;