From 56554d970db66b41580bca024eefac7b1ae81226 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sat, 2 Apr 2011 01:51:54 +0000 Subject: [PATCH] * Forgot this one .. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 5bb807e8c..16744edf3 100644 --- a/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java +++ b/engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java @@ -332,8 +332,8 @@ public final class OBJLoader implements AssetLoader { }else if (cmd.equals("usemtl")){ // use material from MTL lib for the following faces currentMatName = scan.next(); - if (!matList.containsKey(currentMatName)) - throw new IOException("Cannot locate material " + currentMatName + " in MTL file!"); +// if (!matList.containsKey(currentMatName)) +// throw new IOException("Cannot locate material " + currentMatName + " in MTL file!"); }else if (cmd.equals("mtllib")){ // specify MTL lib to use for this OBJ file