diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-09-08 15:04:23 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-09-08 15:04:23 +0400 |
commit | f5f18044dfe4da8bebecffb2a3d048e7c4f7ce92 (patch) | |
tree | f7509ca8c95986e236b1bc7e6eb1f9447f82eba5 /source/blender | |
parent | d18d0aaabb2a7e4ca2bf4e7a776b6865c1887f2e (diff) |
Materials setting "TraShad" is now on by default for all newly created materials.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index d70cd683237..e413f8344c9 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -165,7 +165,7 @@ void init_material(Material *ma) ma->sss_front= 1.0f; ma->sss_back= 1.0f; - ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RADIO|MA_RAYBIAS|MA_TANGENT_STR; + ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_SHADOW_TRA|MA_RADIO|MA_RAYBIAS|MA_TANGENT_STR; ma->preview = NULL; } |