warp tool: fix undo when imagemap is busy

This commit is contained in:
Michael Muré 2011-08-04 21:56:17 +02:00 committed by Michael Natterer
parent e5545f4a4f
commit 35888a3848
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}