diff options
author | Ton Roosendaal <ton@blender.org> | 2005-03-23 15:47:23 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-03-23 15:47:23 +0300 |
commit | 1bbc60f63e543625f640645fc52917d66bdc4236 (patch) | |
tree | 2adbd81d17657deaacf34a7ae033fbd83a85b205 /source | |
parent | aab0b1535fe2bf2e2ae85a774731f4526ce08a1e (diff) |
Bug #2444
Jkey, for showing spare render page, didn't work when using ztransp
material, or buttons F5 open or shaded view.... quite strange eh!
Caused by init-render-material setting R.flag to use Ztransp render.
Globals causing havock yes...
Diffstat (limited to 'source')
-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 a32408b5245..a96345da9eb 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -559,7 +559,7 @@ void init_render_material(Material *ma) } if(ma->mode & MA_ZTRA) { /* if(ma->alpha==0.0 || ma->alpha==1.0) */ - R.flag |= R_ZTRA; + if(R.flag & R_RENDERING) R.flag |= R_ZTRA; } if(ma->mode & MA_VERTEXCOLP) ma->mode |= MA_VERTEXCOL; |