[gimp] warp tool: fix one reason that make the outline not moving along the stroke



commit 877c2ef96e313e1cb0b611a9d5ef29e3b06194e8
Author: Michael Muré <batolettre gmail com>
Date:   Mon Aug 1 20:03:43 2011 +0200

    warp tool: fix one reason that make the outline not moving along the stroke

 app/tools/gimpwarptool.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index f75629e..3963021 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -310,8 +310,12 @@ gimp_warp_tool_motion (GimpTool         *tool,
 {
   GimpWarpTool    *wt       = GIMP_WARP_TOOL (tool);
 
+  gimp_draw_tool_pause (GIMP_DRAW_TOOL (tool));
+
   wt->cursor_x = coords->x;
   wt->cursor_y = coords->y;
+
+  gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
 }
 
 static void
@@ -578,6 +582,8 @@ gimp_warp_tool_undo (GimpWarpTool *wt)
   gegl_node_disconnect (to_delete, "input");
   gegl_node_connect_to (previous, "output", wt->render_node, "aux");
 
+
+
   g_object_unref (to_delete);
   gimp_warp_tool_image_map_update (wt);
 }


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