[gegl] Fixed error in array subscript that affected GIMP's perspective transform.
- From: Kevin Cozens <kcozens src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Fixed error in array subscript that affected GIMP's perspective transform.
- Date: Wed, 21 Mar 2012 20:28:38 +0000 (UTC)
commit 2a8f9e567f8fb7368bb80a10273228f51e60bad6
Author: Kevin Cozens <kcozens svn gnome org>
Date: Wed Mar 21 16:24:36 2012 -0400
Fixed error in array subscript that affected GIMP's perspective transform.
operations/affine/affine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/affine/affine.c b/operations/affine/affine.c
index 61c2f04..1997199 100644
--- a/operations/affine/affine.c
+++ b/operations/affine/affine.c
@@ -699,7 +699,7 @@ affine_generic (GeglBuffer *dest,
/* correct rounding on e.g. negative scaling (is this sound?) */
if (inverse.coeff [0][0] < 0.) u_start -= .001;
if (inverse.coeff [1][1] < 0.) v_start -= .001;
- if (inverse.coeff [2][1] < 0.) w_start -= .001;
+ if (inverse.coeff [2][2] < 0.) w_start -= .001;
for (dest_ptr = dest_buf, y = roi->height; y--;)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]