mirror of https://github.com/GNOME/gimp.git
warp tool: fix one reason that make the outline not moving along the stroke
This commit is contained in:
parent
a260039ec9
commit
877c2ef96e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue