svn merge ^/trunk/blender -r55372:55392
[blender.git] / source / blender / blenkernel / intern / material.c
index c47eb7eac4575006aa062a06bf06b4b954363d41..a863d187a2cedda7683c2bd13ddfee3d753f56e5 100644 (file)
@@ -153,6 +153,9 @@ void init_material(Material *ma)
        ma->tx_limit = 0.0;
        ma->tx_falloff = 1.0;
        ma->shad_alpha = 1.0f;
+#ifdef WITH_FREESTYLE
+       ma->vcol_alpha = 0;
+#endif
        
        ma->gloss_mir = ma->gloss_tra = 1.0;
        ma->samp_gloss_mir = ma->samp_gloss_tra = 18;