diff --git a/jme3-core/src/main/java/com/jme3/material/Technique.java b/jme3-core/src/main/java/com/jme3/material/Technique.java index fb5ee4b69..b99cbc3bb 100644 --- a/jme3-core/src/main/java/com/jme3/material/Technique.java +++ b/jme3-core/src/main/java/com/jme3/material/Technique.java @@ -179,21 +179,7 @@ public class Technique /* implements Savable */ { } if (techniqueSwitched) { - // If the technique was switched, check if the define list changed - // based on material parameters. - - ListMap params = owner.getParamsMap(); - - if (!defines.equalsParams(params, def)) { - // Defines were changed, update define list - defines.clear(); - for(int i=0;i