From e17375665d35a2235878d615076360ee54cca665 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Mon, 10 Nov 2014 23:30:59 -0500 Subject: [PATCH] Fix crash when loading ogre models due to changed lighting material --- .../ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java index 75bff4ef7..c0c56d51a 100644 --- a/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java +++ b/jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java @@ -338,7 +338,7 @@ public class MaterialLoader implements AssetLoader { // rs.setDepthWrite(false); mat.setTransparent(true); if (!noLight){ - mat.setBoolean("UseAlpha", true); + // mat.setBoolean("UseAlpha", true); } }else{ if (twoSide){