소스 검색

* Forgot this one ..

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sha..rd 14 년 전
부모
커밋
56554d970d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      engine/src/core-plugins/com/jme3/scene/plugins/OBJLoader.java

+ 2 - 2
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