From 30d89da190e75ca6d815a361fabc420b336d1a4f Mon Sep 17 00:00:00 2001 From: jmekaelthas <76w1dxnh> Date: Fri, 7 Nov 2014 13:12:53 +0100 Subject: [PATCH] Bugfix: fixed a crash that occured after changes in Materials' definitions. --- .../jme3/scene/plugins/blender/materials/MaterialContext.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/materials/MaterialContext.java b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/materials/MaterialContext.java index 8fec0afec..6e67da967 100644 --- a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/materials/MaterialContext.java +++ b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/materials/MaterialContext.java @@ -134,13 +134,11 @@ public final class MaterialContext { material.setBoolean("UseMaterialColors", Boolean.TRUE); // setting the colors - material.setBoolean("Minnaert", diffuseShader == DiffuseShader.MINNAERT); if (!transparent) { diffuseColor.a = 1; } material.setColor("Diffuse", diffuseColor); - material.setBoolean("WardIso", specularShader == SpecularShader.WARDISO); material.setColor("Specular", specularColor); material.setFloat("Shininess", shininess);