Cleanup: quiet warning, don't set unused alpha

This commit is contained in:
Campbell Barton 2018-06-01 13:56:39 +02:00
parent 83a41ccd0a
commit b85d5b6d52
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,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;
// ma->alpha = 1.0; /* DEPRECATED */
ma->spec = 0.5;
ma->roughness = 0.25f;