Fix default material using zero alpha

This commit is contained in:
Campbell Barton
2019-01-30 23:53:40 +11:00
parent 93dc2d373f
commit e08156d799

View File

@@ -135,7 +135,7 @@ void BKE_material_init(Material *ma)
ma->r = ma->g = ma->b = 0.8;
ma->specr = ma->specg = ma->specb = 1.0;
// ma->alpha = 1.0; /* DEPRECATED */
ma->a = 1.0f;
ma->spec = 0.5;
ma->roughness = 0.25f;