diff options
author | Ton Roosendaal <ton@blender.org> | 2006-10-14 17:50:11 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-10-14 17:50:11 +0400 |
commit | 11b4d14ab6651b14bbbf41981734689b1ddea195 (patch) | |
tree | 13771372d992e44afe2aecf49fc9f49d36b23fba | |
parent | e868f223dcef75ef7ea7e6df1e1e02ef0cc97d83 (diff) |
Missing initialization of 'shadow alpha' in new materials. Caused by not
copying this file from my laptop I used to code it... :)
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index a58f9b472ee..20102ebb6c9 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -137,6 +137,7 @@ void init_material(Material *ma) ma->fresnel_mir_i= 1.25; ma->tx_limit= 100.0; ma->tx_falloff= 1.0; + ma->shad_alpha= 1.0f; ma->rampfac_col= 1.0; ma->rampfac_spec= 1.0; |