mirror of https://github.com/GNOME/gimp.git
added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was forgotten
2006-08-15 Michael Natterer <mitch@gimp.org> * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start): added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was forgotten when this mode was introduced.
This commit is contained in:
parent
1f63110d52
commit
2a97cb07c1
|
@ -1,3 +1,9 @@
|
|||
2006-08-15 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
|
||||
added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was
|
||||
forgotten when this mode was introduced.
|
||||
|
||||
2006-08-15 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimp.[ch] (gimp_shm_addr): the return value isn't const.
|
||||
|
|
|
@ -198,7 +198,8 @@ gimp_edit_selection_tool_start (GimpTool *parent_tool,
|
|||
shell = GIMP_DISPLAY_SHELL (display->shell);
|
||||
|
||||
/* Make a check to see if it should be a floating selection translation */
|
||||
if (edit_mode == GIMP_TRANSLATE_MODE_MASK_TO_LAYER &&
|
||||
if ((edit_mode == GIMP_TRANSLATE_MODE_MASK_TO_LAYER ||
|
||||
edit_mode == GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER) &&
|
||||
gimp_image_floating_sel (display->image))
|
||||
{
|
||||
edit_mode = GIMP_TRANSLATE_MODE_FLOATING_SEL;
|
||||
|
|
Loading…
Reference in New Issue