|
|
@ -1325,9 +1325,9 @@ public class Material implements CloneableSmartAsset, Cloneable, Savable { |
|
|
|
param.setName(param.getName().substring(2)); |
|
|
|
param.setName(param.getName().substring(2)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (def.getMaterialParam(name) == null) { |
|
|
|
if (def.getMaterialParam(param.getName()) == null) { |
|
|
|
logger.log(Level.WARNING, "The material parameter is not defined: " + |
|
|
|
logger.log(Level.WARNING, "The material parameter is not defined: {0}. Ignoring..", |
|
|
|
name + ". Ignoring.."); |
|
|
|
param.getName()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
checkSetParam(param.getVarType(), param.getName()); |
|
|
|
checkSetParam(param.getVarType(), param.getName()); |
|
|
|
paramValues.put(param.getName(), param); |
|
|
|
paramValues.put(param.getName(), param); |
|
|
|