[gimp] Bug 701803 - Cage Transform raises segmentation fault...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 701803 - Cage Transform raises segmentation fault...
- Date: Tue, 18 Jun 2013 17:07:52 +0000 (UTC)
commit 2e8ef97c137239727e7e4f04c5020bd9c5e0d37d
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 18 19:05:54 2013 +0200
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c
index 9c7f2aa..457d34b 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 |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]