[gimp/warp-wip-rebased: 55/56] warp tool: fix undo when imagemap is busy



commit 1a3905e1c2ea6171dd7b8a6538212b7c82d249f0
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]