From 43fcd011148ad20a4de54c91f152c3e83951f176 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sun, 1 Feb 2015 17:17:05 -0500 Subject: [PATCH] Remove useless check against material technique name being called 'FixedFunc' --- .../plugins/java/com/jme3/material/plugins/J3MLoader.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java b/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java index 7a9903e09..dc8592abe 100644 --- a/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java +++ b/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");