Преглед изворни кода

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");