From 2e8ef97c137239727e7e4f04c5020bd9c5e0d37d Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 18 Jun 2013 19:05:54 +0200 Subject: [PATCH] Bug 701803 - Cage Transform raises segmentation fault... ...if layer bounds are changed. Call gimp_tool_control_set_preserve (tool->control, FALSE) so it is stopped when the drawable changes. --- app/tools/gimpcagetool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c index 9c7f2aaeee..457d34b9fc 100644 --- a/app/tools/gimpcagetool.c +++ b/app/tools/gimpcagetool.c @@ -178,6 +178,7 @@ gimp_cage_tool_init (GimpCageTool *self) { GimpTool *tool = GIMP_TOOL (self); + gimp_tool_control_set_preserve (tool->control, FALSE); gimp_tool_control_set_dirty_mask (tool->control, GIMP_DIRTY_IMAGE | GIMP_DIRTY_IMAGE_STRUCTURE |