소스 검색

Remove useless check against material technique name being called 'FixedFunc'

shadowislord 10 년 전
부모
커밋
43fcd01114
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

+ 0 - 5
jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

@@ -455,11 +455,6 @@ public class J3MLoader implements AssetLoader {
             technique = new TechniqueDef(null);
         } else if (split.length == 2) {
             String techName = split[1];
-            if (techName.equals("FixedFunc")) {
-                throw new UnsupportedOperationException(
-                        "In material: " + key + "\nThe 'FixedFunc' technique name no longer has any special meanining.\n"
-                        + "To support fixed pipeline mode, remove that technique's name entirely.");
-            }
             technique = new TechniqueDef(techName);
         } else {
             throw new IOException("Technique statement syntax incorrect");