Bug 560897 – Floating Selection, objects appearing in background

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.


svn path=/trunk/; revision=27658
This commit is contained in:
Michael Natterer 2008-11-15 13:29:15 +00:00 committed by Michael Natterer
parent f2665fe374
commit 3216ed8eca
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
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.
2008-11-15 Sven Neumann <sven@gimp.org>
* app/actions/debug-commands.c
@ -52,7 +60,7 @@
* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop)
* app/core/gimplayer-floating-sel.c (floating_sel_to_layer): use
gimp_image_set_floating_selection() instead of setting
image->floating_sel menually and remove all calls to
image->floating_sel manually and remove all calls to
gimp_image_floating_selection_changed().
2008-11-14 Michael Natterer <mitch@gimp.org>

View File

@ -1101,7 +1101,8 @@ gimp_drawable_init_src_region (GimpDrawable *drawable,
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_drawable_init_src_region (GimpDrawable *drawable,
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)