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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-10-14 17:50:11 +0400
committerTon Roosendaal <ton@blender.org>2006-10-14 17:50:11 +0400
commit11b4d14ab6651b14bbbf41981734689b1ddea195 (patch)
tree13771372d992e44afe2aecf49fc9f49d36b23fba /source
parente868f223dcef75ef7ea7e6df1e1e02ef0cc97d83 (diff)
Missing initialization of 'shadow alpha' in new materials. Caused by not
copying this file from my laptop I used to code it... :)
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/material.c1
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;