the transformed tile_manager has always an alpha channel, so use

2002-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
	the transformed tile_manager has always an alpha channel, so use
	gimp_drawable_type_with_alpha() when creating a layer from it
	using gimp_layer_new_from_tiles(). Fixes bug #98053.
This commit is contained in:
Michael Natterer 2002-11-09 23:15:22 +00:00 committed by Michael Natterer
parent 51537fd6ba
commit 2fd6f782a0
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-11-10 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
the transformed tile_manager has always an alpha channel, so use
gimp_drawable_type_with_alpha() when creating a layer from it
using gimp_layer_new_from_tiles(). Fixes bug #98053.
2002-11-09 Manish Singh <yosh@gimp.org>
* app/widgets/gimppreview.[ch]: use a low priority idle handler to

View File

@ -747,7 +747,7 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
layer =
gimp_layer_new_from_tiles (tiles,
gimage,
gimp_drawable_type (drawable),
gimp_drawable_type_with_alpha (drawable),
_("Transformation"),
GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE);
if (! layer)

View File

@ -747,7 +747,7 @@ gimp_drawable_transform_paste (GimpDrawable *drawable,
layer =
gimp_layer_new_from_tiles (tiles,
gimage,
gimp_drawable_type (drawable),
gimp_drawable_type_with_alpha (drawable),
_("Transformation"),
GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE);
if (! layer)