Fixed material default value loading

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent 75b320b7d6
commit b86b658c93
  1. 2
      engine/src/core-plugins/com/jme3/material/plugins/J3MLoader.java

@ -269,7 +269,7 @@ public class J3MLoader implements AssetLoader {
Object defaultValObj = null;
if (defaultVal != null){
readValue(type, defaultVal);
defaultValObj = readValue(type, defaultVal);
}
materialDef.addMaterialParam(type, name, defaultValObj, ffBinding);

Loading…
Cancel
Save