mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
b2ac41b961
commit
38c0937b8f
|
@ -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_motion_mode (tool->control, GIMP_MOTION_MODE_EXACT);
|
||||||
gimp_tool_control_set_dirty_mask (tool->control,
|
gimp_tool_control_set_dirty_mask (tool->control,
|
||||||
GIMP_DIRTY_IMAGE |
|
GIMP_DIRTY_IMAGE |
|
||||||
GIMP_DIRTY_IMAGE_STRUCTURE |
|
|
||||||
GIMP_DIRTY_DRAWABLE |
|
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_wants_click (tool->control, TRUE);
|
||||||
gimp_tool_control_set_tool_cursor (tool->control,
|
gimp_tool_control_set_tool_cursor (tool->control,
|
||||||
GIMP_TOOL_CURSOR_PERSPECTIVE);
|
GIMP_TOOL_CURSOR_PERSPECTIVE);
|
||||||
|
|
Loading…
Reference in New Issue