From 38c0937b8ff9535a7088300b25af82f2baba91d0 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 25 May 2014 15:00:49 +0200 Subject: [PATCH] Bug 723534 - Warp transform tool does not follow active layer Add GIMP_DIRTY_ACTIVE_DRAWABLE to the warp tool's dirty mask, so it correctly switches to the new active layer. Also remove GIMP_DIRTY_IMAGE_STRUCTURE, I don't know why that was there in the first place. --- app/tools/gimpwarptool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c index 0fe19a5fcc..48e90b9c14 100644 --- a/app/tools/gimpwarptool.c +++ b/app/tools/gimpwarptool.c @@ -165,9 +165,9 @@ gimp_warp_tool_init (GimpWarpTool *self) gimp_tool_control_set_motion_mode (tool->control, GIMP_MOTION_MODE_EXACT); gimp_tool_control_set_dirty_mask (tool->control, GIMP_DIRTY_IMAGE | - GIMP_DIRTY_IMAGE_STRUCTURE | GIMP_DIRTY_DRAWABLE | - GIMP_DIRTY_SELECTION); + GIMP_DIRTY_SELECTION | + GIMP_DIRTY_ACTIVE_DRAWABLE); gimp_tool_control_set_wants_click (tool->control, TRUE); gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_PERSPECTIVE);