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



commit 9f12913d400f42191a40d5aec2bace6c6504bdf4
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 e33d4f6..d1c489b 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -312,8 +312,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
@@ -580,6 +584,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]