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:
Sven Neumann 2008-04-04 14:31:06 +00:00 committed by Sven Neumann
parent 833f99d006
commit ca205c10a3
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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