gimp r27658 - in trunk: . app/core



Author: mitch
Date: Sat Nov 15 13:29:15 2008
New Revision: 27658
URL: http://svn.gnome.org/viewvc/gimp?rev=27658&view=rev

Log:
2008-11-15  Michael Natterer  <mitch gimp org>

	Bug 560897 â Floating Selection, objects appearing in background

	* app/core/gimpdrawable.c (gimp_drawable_init_src_region): use the
	right offsets (not off_y for both x and y) when applying the
	floating selection.



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

Modified: trunk/app/core/gimpdrawable.c
==============================================================================
--- trunk/app/core/gimpdrawable.c	(original)
+++ trunk/app/core/gimpdrawable.c	Sat Nov 15 13:29:15 2008
@@ -1101,7 +1101,8 @@
                              combine_width, combine_height,
                              FALSE);
           pixel_region_init (&destPR, *temp_tiles,
-                             combine_x - x - off_x, combine_y - y - off_y,
+                             combine_x - x - off_x,
+                             combine_y - y - off_y,
                              combine_width, combine_height,
                              TRUE);
 
@@ -1118,7 +1119,7 @@
                                       gimp_layer_get_opacity (fs),
                                       gimp_layer_get_mode (fs),
                                       NULL, &destPR,
-                                      combine_x - off_y,
+                                      combine_x - off_x,
                                       combine_y - off_y);
 
           if (lock_alpha)



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