Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-30 15:53:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-30 15:54:07 +0300
commite08156d7996add7bb28118be514a4bfb8e5b79ac (patch)
tree673c94c9b92156be9f88c90003c232e7b934849c /source/blender
parent93dc2d373fdd34ca64dff53b9d830052fb2aa749 (diff)
Fix default material using zero alpha
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index 58bcedec2b2..f4b82448f46 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -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;