[gimp] app: forgot to invert the matrix in corrective mode when transforming the selection.



commit 8cc53bbbdff4d5c1badf22d70bd66fe73980ad6e
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Tue Apr 23 17:02:45 2013 +0200

    app: forgot to invert the matrix in corrective mode when transforming the selection.

 app/tools/gimptransformtool.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c
index b2e6323..7e1d72b 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -1012,6 +1012,9 @@ gimp_transform_tool_draw (GimpDrawTool *draw_tool)
       gint                num_segs_in;
       gint                num_segs_out;
 
+      if (options->direction == GIMP_TRANSFORM_BACKWARD)
+        gimp_matrix3_invert (&matrix);
+
       gimp_channel_boundary (gimp_image_get_mask (image),
                              &orig_in, &orig_out,
                              &num_segs_in, &num_segs_out,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]