Commit 2a8f9e56 authored by Kevin Cozens's avatar Kevin Cozens

Fixed error in array subscript that affected GIMP's perspective transform.

parent 0f34bd4f
......@@ -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--;)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment