[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27109] branches/render25/source/blender/ editors/screen/screen_ops.c: Render Branch: redrawing while render would miss a few scanlines each time

Brecht Van Lommel brecht at blender.org
Tue Feb 23 20:25:00 CET 2010


Revision: 27109
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27109
Author:   blendix
Date:     2010-02-23 20:24:59 +0100 (Tue, 23 Feb 2010)

Log Message:
-----------
Render Branch: redrawing while render would miss a few scanlines each time
with antialiasing enabled.

Modified Paths:
--------------
    branches/render25/source/blender/editors/screen/screen_ops.c

Modified: branches/render25/source/blender/editors/screen/screen_ops.c
===================================================================
--- branches/render25/source/blender/editors/screen/screen_ops.c	2010-02-23 19:23:49 UTC (rev 27108)
+++ branches/render25/source/blender/editors/screen/screen_ops.c	2010-02-23 19:24:59 UTC (rev 27109)
@@ -3003,11 +3003,11 @@
 		
 		/* xmin here is first subrect x coord, xmax defines subrect width */
 		xmin = renrect->xmin + rr->crop;
-		xmax = renrect->xmax - xmin - rr->crop;
+		xmax = renrect->xmax - xmin + rr->crop;
 		if (xmax<2) return;
 		
 		ymin= renrect->ymin + rr->crop;
-		ymax= renrect->ymax - ymin - rr->crop;
+		ymax= renrect->ymax - ymin + rr->crop;
 		if(ymax<2)
 			return;
 		renrect->ymin= renrect->ymax;





More information about the Bf-blender-cvs mailing list