GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 7c652c0e authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

call gimp_drawable_invalidate_boundary() because the drawable's size may

2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
	call gimp_drawable_invalidate_boundary() because the drawable's
	size may have changed. Fixes bug #132077. Removed call to
	floating_sel_invalidate() which is now redundant.
parent 73d258eb
2004-01-21 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
call gimp_drawable_invalidate_boundary() because the drawable's
size may have changed. Fixes bug #132077. Removed call to
floating_sel_invalidate() which is now redundant.
2004-01-21 Michael Natterer <mitch@gimp.org>
* app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
......@@ -1071,8 +1071,6 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
/* End the group undo */
gimp_image_undo_group_end (gimage);
return TRUE;
}
else
{
......@@ -1083,6 +1081,8 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
else
return FALSE;
gimp_drawable_invalidate_boundary (drawable);
if (layer && (tile_manager_bpp (tiles) == 2 ||
tile_manager_bpp (tiles) == 4))
{
......@@ -1128,15 +1128,9 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
0, 0,
gimp_item_width (GIMP_ITEM (drawable)),
gimp_item_height (GIMP_ITEM (drawable)));
/* if we were operating on the floating selection, then it's boundary
* and previews need invalidating
*/
if (drawable == (GimpDrawable *) floating_layer)
floating_sel_invalidate (floating_layer);
return TRUE;
}
return TRUE;
}
#define BILINEAR(jk, j1k, jk1, j1k1, dx, dy) \
......
......@@ -1071,8 +1071,6 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
/* End the group undo */
gimp_image_undo_group_end (gimage);
return TRUE;
}
else
{
......@@ -1083,6 +1081,8 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
else
return FALSE;
gimp_drawable_invalidate_boundary (drawable);
if (layer && (tile_manager_bpp (tiles) == 2 ||
tile_manager_bpp (tiles) == 4))
{
......@@ -1128,15 +1128,9 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
0, 0,
gimp_item_width (GIMP_ITEM (drawable)),
gimp_item_height (GIMP_ITEM (drawable)));
/* if we were operating on the floating selection, then it's boundary
* and previews need invalidating
*/
if (drawable == (GimpDrawable *) floating_layer)
floating_sel_invalidate (floating_layer);
return TRUE;
}
return TRUE;
}
#define BILINEAR(jk, j1k, jk1, j1k1, dx, dy) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment