[Bf-blender-cvs] [fa8d38d] master: Fix T41241: VSE: cropping strips puts a transparent line through the image.

Bastien Montagne noreply at git.blender.org
Wed Jul 30 17:29:49 CEST 2014


Commit: fa8d38da74946d3d08ecb4548db98eb2a855b096
Author: Bastien Montagne
Date:   Wed Jul 30 17:28:48 2014 +0200
Branches: master
https://developer.blender.org/rBfa8d38da74946d3d08ecb4548db98eb2a855b096

Fix T41241: VSE: cropping strips puts a transparent line through the image.

===================================================================

M	source/blender/imbuf/intern/scaling.c

===================================================================

diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c
index c98b39c..e066443 100644
--- a/source/blender/imbuf/intern/scaling.c
+++ b/source/blender/imbuf/intern/scaling.c
@@ -1353,7 +1353,7 @@ static ImBuf *scaleupy(struct ImBuf *ibuf, int newy)
 			val_g += 0.5f;
 
 			val_r = rect[3];
-			nval_r = rect[skipx + 4];
+			nval_r = rect[skipx + 3];
 			diff_r = nval_r - val_r;
 			val_r += 0.5f;




More information about the Bf-blender-cvs mailing list