[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24016] trunk/blender/source/blender/ render/intern/source/zbuf.c: Bugfix: render clipping was not using correct matrix, own mistake

Brecht Van Lommel brecht at blender.org
Tue Oct 20 21:14:57 CEST 2009


Revision: 24016
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24016
Author:   blendix
Date:     2009-10-20 21:14:55 +0200 (Tue, 20 Oct 2009)

Log Message:
-----------
Bugfix: render clipping was not using correct matrix, own mistake
in recent commit.

Modified Paths:
--------------
    trunk/blender/source/blender/render/intern/source/zbuf.c

Modified: trunk/blender/source/blender/render/intern/source/zbuf.c
===================================================================
--- trunk/blender/source/blender/render/intern/source/zbuf.c	2009-10-20 19:09:12 UTC (rev 24015)
+++ trunk/blender/source/blender/render/intern/source/zbuf.c	2009-10-20 19:14:55 UTC (rev 24016)
@@ -2137,7 +2137,7 @@
 			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 @@
 		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 @@
 		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);





More information about the Bf-blender-cvs mailing list