[gimp/soc-2011-seamless-clone2] app: forgot to invert the matrix in corrective mode when transforming the selection.



commit 2e32af14e1b0909598db495a77bd3f5bcea62618
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]