[gimp] warp tool: fix undo when imagemap is busy
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] warp tool: fix undo when imagemap is busy
- Date: Tue, 21 May 2013 21:47:59 +0000 (UTC)
commit 35888a3848dffe98aa4b8f5e5644f239a02994c1
Author: Michael Muré <batolettre gmail com>
Date: Thu Aug 4 21:56:17 2011 +0200
warp tool: fix undo when imagemap is busy
app/tools/gimpwarptool.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index dfb7c9d..269d028 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -600,6 +600,7 @@ gimp_warp_tool_undo (GimpWarpTool *wt)
bbox.width = max_x - min_x + size;
bbox.height = max_y - min_y + size;
+ gimp_image_map_abort (wt->image_map);
gimp_image_map_apply_region (wt->image_map, &bbox);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]