gimp r25366 - in trunk: . app/core



Author: neo
Date: Fri Apr  4 15:31:06 2008
New Revision: 25366
URL: http://svn.gnome.org/viewvc/gimp?rev=25366&view=rev

Log:
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).


Modified:
   trunk/ChangeLog
   trunk/app/core/gimpselection.c

Modified: trunk/app/core/gimpselection.c
==============================================================================
--- trunk/app/core/gimpselection.c	(original)
+++ trunk/app/core/gimpselection.c	Fri Apr  4 15:31:06 2008
@@ -827,9 +827,8 @@
   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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]