From: Ton Roosendaal Date: Sat, 3 Apr 2004 17:11:14 +0000 (+0000) Subject: - bug fix #1086 X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender-staging.git/commitdiff_plain/22a62a285cfcc8888905fbb607f675557a4320c6 - bug fix #1086 using backbuffer, and having an odd number of lines in image, skipped the last one to fill in backbuffer... An oldie! --- diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c index a086064db50..75ef82658f4 100644 --- a/source/blender/render/intern/source/rendercore.c +++ b/source/blender/render/intern/source/rendercore.c @@ -283,7 +283,7 @@ void scanlinesky(char *rect, int y) } } /* which scanline/ */ - y= ((y+R.afmy+R.ystart)*R.backbuf->ibuf->y)/(2*R.afmy); + y= ((y+R.afmy+R.ystart)*R.backbuf->ibuf->y)/(R.recty); if(R.flag & R_SEC_FIELD) { if((R.r.mode & R_ODDFIELD)==0) {