mirror of https://github.com/GNOME/gimp.git
clear the selection as gimp_selection_extract() doesn't do this for us any
2008-04-04 Sven Neumann <sven@gimp.org> * app/core/gimpselection.c (gimp_selection_float): clear the selection as gimp_selection_extract() doesn't do this for us any longer (see bug #510534). svn path=/trunk/; revision=25366
This commit is contained in:
parent
833f99d006
commit
ca205c10a3
|
@ -1,3 +1,9 @@
|
|||
2008-04-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpselection.c (gimp_selection_float): clear the
|
||||
selection as gimp_selection_extract() doesn't do this for us any
|
||||
longer (see bug #510534).
|
||||
|
||||
2008-04-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/psd/psd-load.c: marked string for translation (the same
|
||||
|
|
|
@ -827,9 +827,8 @@ gimp_selection_float (GimpChannel *selection,
|
|||
tiles = gimp_selection_extract (selection, GIMP_PICKABLE (drawable), context,
|
||||
cut_image, FALSE, TRUE, NULL);
|
||||
|
||||
/* Clear the selection as if we had cut the pixels */
|
||||
if (! cut_image)
|
||||
gimp_channel_clear (selection, NULL, TRUE);
|
||||
/* Clear the selection */
|
||||
gimp_channel_clear (selection, NULL, TRUE);
|
||||
|
||||
/* Create a new layer from the buffer, using the drawable's type
|
||||
* because it may be different from the image's type if we cut from
|
||||
|
|
Loading…
Reference in New Issue