[gimp/soc-2011-warp: 71/72] warp tool: fix undo when imagemap is busy



commit e3176dee559042032a9e06c0b3f6e9abe38f5eef
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]