From be1aa87f55a361d877afbf64a89d3cf581484f01 Mon Sep 17 00:00:00 2001 From: "Sha..om" Date: Wed, 5 Sep 2012 22:02:27 +0000 Subject: [PATCH] * Fixed issue 518 .. again git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 145016349..27efc007f 100644 --- a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java +++ b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java @@ -299,7 +299,7 @@ public final class OBJLoader implements AssetLoader { Vector2f v = new Vector2f(); String line = scan.nextLine().trim(); - String[] split = line.split("\\s++"); + String[] split = line.split("\\s+"); v.setX( Float.parseFloat(split[0].trim()) ); v.setY( Float.parseFloat(split[1].trim()) );