diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialProperty.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialProperty.java index 553b3655e..2bbb986e0 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialProperty.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialProperty.java @@ -28,9 +28,11 @@ public class MaterialProperty { public MaterialProperty(MatParam param) { this.type = param.getVarType().name(); this.name = param.getName(); - try { - this.value = param.getValueAsString(); - } catch (UnsupportedOperationException e) { + if (param.getValue() != null) { + try { + this.value = param.getValueAsString(); + } catch (UnsupportedOperationException e) { + } } }