Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-04-03 21:11:14 +0400
committerTon Roosendaal <ton@blender.org>2004-04-03 21:11:14 +0400
commit22a62a285cfcc8888905fbb607f675557a4320c6 (patch)
tree2702ab276b29b10831a9608103f8ae7e471f43e1 /source
parent900f997208f3f6c4c8cfb96698f01330ba5dd22b (diff)
- bug fix #1086
using backbuffer, and having an odd number of lines in image, skipped the last one to fill in backbuffer... An oldie!
Diffstat (limited to 'source')
-rw-r--r--source/blender/render/intern/source/rendercore.c2
1 files changed, 1 insertions, 1 deletions
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) {