diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 23:14:55 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 23:14:55 +0400 |
commit | 9327dd91124e9ac03370d112b7c016884ad2f727 (patch) | |
tree | f4690e2ad36a5b7127b6e50ac8aebaaeac836417 /source/blender/render/intern/source/zbuf.c | |
parent | ad260a03706e7ad589430911448285dceafe5370 (diff) |
Bugfix: render clipping was not using correct matrix, own mistake
in recent commit.
Diffstat (limited to 'source/blender/render/intern/source/zbuf.c')
-rw-r--r-- | source/blender/render/intern/source/zbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c index 6e305a2b82b..6c1055ec9e0 100644 --- a/source/blender/render/intern/source/zbuf.c +++ b/source/blender/render/intern/source/zbuf.c @@ -2137,7 +2137,7 @@ void zbuffer_solid(RenderPart *pa, RenderLayer *rl, void(*fillfunc)(RenderPart*, else Mat4CpyMat4(obwinmat, winmat); - if(clip_render_object(obi->obr->boundbox, bounds, winmat)) + if(clip_render_object(obi->obr->boundbox, bounds, obwinmat)) continue; zbuf_project_cache_clear(cache, obr->totvert); @@ -2555,7 +2555,7 @@ void zbuffer_sss(RenderPart *pa, unsigned int lay, void *handle, void (*func)(vo else Mat4CpyMat4(obwinmat, winmat); - if(clip_render_object(obi->obr->boundbox, bounds, winmat)) + if(clip_render_object(obi->obr->boundbox, bounds, obwinmat)) continue; zbuf_project_cache_clear(cache, obr->totvert); @@ -3301,7 +3301,7 @@ static int zbuffer_abuf(Render *re, RenderPart *pa, APixstr *APixbuf, ListBase * else Mat4CpyMat4(obwinmat, winmat); - if(clip_render_object(obi->obr->boundbox, bounds, winmat)) + if(clip_render_object(obi->obr->boundbox, bounds, obwinmat)) continue; zbuf_project_cache_clear(cache, obr->totvert); |