Kaynağa Gözat

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

shadowislord 10 yıl önce
ebeveyn
işleme
43fcd01114

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