svn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender-staging.git] / source / blender / blenkernel / intern / material.c
index 0e26564df74ee41f30474509cc08124bdb929724..53de570b55e92e9c4d2ee6ce9e47d1e31af82608 100644 (file)
@@ -185,7 +185,7 @@ void init_material(Material *ma)
        ma->vol.shadeflag |= MA_VOL_PRECACHESHADING;
        ma->vol.precache_resolution = 50;
        
-       ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR;
+       ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR|MA_ZTRANSP;
 
        ma->preview = NULL;
 }