diff --git a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java index 5184c610c..3d64dd3a5 100644 --- a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java +++ b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java @@ -234,7 +234,7 @@ public final class OBJLoader implements AssetLoader { vertList.clear(); String line = scan.nextLine().trim(); - String[] verticies = line.split("\\s"); + String[] verticies = line.split("\\s+"); for (String vertex : verticies){ int v = 0; int vt = 0;