[gimp/gimp-2-8] Bug 701803 - Cage Transform raises segmentation fault...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 701803 - Cage Transform raises segmentation fault...
- Date: Tue, 18 Jun 2013 20:52:58 +0000 (UTC)
commit ef649f48275dcb1850c2d0c0a60e33b244a8eb42
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.
(cherry picked from commit 2e8ef97c137239727e7e4f04c5020bd9c5e0d37d)
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 806f089..bada159 100644
--- a/app/tools/gimpcagetool.c
+++ b/app/tools/gimpcagetool.c
@@ -180,6 +180,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]