[gimp/soc-2011-warp] warp tool: fix undo when imagemap is busy
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-warp] warp tool: fix undo when imagemap is busy
- Date: Thu, 4 Aug 2011 19:59:31 +0000 (UTC)
commit dbf15991a09b1650f2b330913d218039937ad52e
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 42488de..11377b5 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -602,6 +602,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]