[Committed] Ogre xml RenderQueue Transparent when vertexcolor.a < 1

This is bullcrap. If you for example set the TRANSPARENT render queue for your whole scene, the Material overrides that for every Geometry in the scene that doesnt have alpha in the vertex color. There are more options to make something transparent ( texturing, …)



Index: src/com/jmex/model/ogrexml/Material.java
===================================================================
--- src/com/jmex/model/ogrexml/Material.java   (revision 4893)
+++ src/com/jmex/model/ogrexml/Material.java   (working copy)
@@ -78,14 +78,6 @@
     }
 
     public void apply(Spatial obj){
-        boolean objTransp = false;
-        if (obj instanceof Geometry) {
-            ColorRGBA color = ((Geometry) obj).getDefaultColor();
-            objTransp = color != null && color.a != 1f;
-        }
-        obj.setRenderQueueMode((objTransp || transparent)
-                ? Renderer.QUEUE_TRANSPARENT : Renderer.QUEUE_OPAQUE);
-
         if (lightingOff)
             obj.setLightCombineMode(LightCombineMode.Off);