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.
This commit is contained in:
Michael Natterer 2013-06-18 19:05:54 +02:00
parent 150a3e9c7e
commit 2e8ef97c13
1 changed files with 1 additions and 0 deletions

View File

@ -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 |