diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-11 21:36:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-11 21:36:47 +0300 |
commit | 611a5595f978050d4db057ba3e1046e982c18803 (patch) | |
tree | 3ec6278f572fcc5fda7f2a8aa7a167653dd2306f /source/blender/blenkernel/intern | |
parent | 39cccd2a90a9ba45b68ee1b412b3f0fccf48a03e (diff) |
fix for flag being used in the wrong place with recent ApproxAO option.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index 9c56699fa1d..20c475c8b13 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -188,8 +188,8 @@ void init_material(Material *ma) ma->vol.ms_diff = 1.f; ma->vol.ms_intensity = 1.f; - ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR|MA_ZTRANSP|MA_APPROX_OCCLUSION; - + ma->mode= MA_TRACEBLE|MA_SHADBUF|MA_SHADOW|MA_RAYBIAS|MA_TANGENT_STR|MA_ZTRANSP; + ma->shade_flag= MA_APPROX_OCCLUSION; ma->preview = NULL; } |