Revision: 27483
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27483
Author: blendix
Date: 2010-03-14 15:26:46 +0100 (Sun, 14 Mar 2010)
Log Message:
-----------
Fix #21171: ztransp render aliasing problem.
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 2010-03-14
13:07:13 UTC (rev 27482)
+++ trunk/blender/source/blender/render/intern/source/zbuf.c 2010-03-14
14:26:46 UTC (rev 27483)
@@ -3273,8 +3273,8 @@
zspan->mask= 1<<zsample;
if(jit) {
- zspan->zofsx= -pa->disprect.xmin + jit[zsample][0];
- zspan->zofsy= -pa->disprect.ymin + jit[zsample][1];
+ zspan->zofsx= -pa->disprect.xmin - jit[zsample][0];
+ zspan->zofsy= -pa->disprect.ymin - jit[zsample][1];
}
else {
zspan->zofsx= -pa->disprect.xmin;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs