mirror of https://github.com/GNOME/gimp.git
flush the image after clearing the selection and after anchoring a
2006-10-14 Michael Natterer <mitch@gimp.org> * app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_execute): flush the image after clearing the selection and after anchoring a floating layer. Fixes bug #362096.
This commit is contained in:
parent
d195a4b3ff
commit
a21bb4ac8f
|
@ -1,3 +1,9 @@
|
||||||
|
2006-10-14 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_execute):
|
||||||
|
flush the image after clearing the selection and after anchoring
|
||||||
|
a floating layer. Fixes bug #362096.
|
||||||
|
|
||||||
2006-10-13 Sven Neumann <sven@gimp.org>
|
2006-10-13 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/tools/gimpcropoptions.c (gimp_crop_options_[gs]et_property):
|
* app/tools/gimpcropoptions.c (gimp_crop_options_[gs]et_property):
|
||||||
|
|
|
@ -520,6 +520,7 @@ gimp_rect_select_tool_execute (GimpRectangleTool *rectangle,
|
||||||
if (gimp_image_floating_sel (image))
|
if (gimp_image_floating_sel (image))
|
||||||
{
|
{
|
||||||
floating_sel_anchor (gimp_image_floating_sel (image));
|
floating_sel_anchor (gimp_image_floating_sel (image));
|
||||||
|
gimp_image_flush (image);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -592,6 +593,7 @@ gimp_rect_select_tool_execute (GimpRectangleTool *rectangle,
|
||||||
|
|
||||||
/* otherwise clear the selection */
|
/* otherwise clear the selection */
|
||||||
gimp_channel_clear (selection, NULL, TRUE);
|
gimp_channel_clear (selection, NULL, TRUE);
|
||||||
|
gimp_image_flush (image);
|
||||||
|
|
||||||
gimp_tool_control_set_preserve (tool->control, FALSE);
|
gimp_tool_control_set_preserve (tool->control, FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue