mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
Issue #1450 - Transform tools don't add an alpha channel in 'None' interpolation
Never add an alpha channel in gimp_layer_real_transform(), it was only added because our pre-GEGL transform code was shit. This is quite the opposite of what the bug reporter asked for, but IMO the more correct fix. This will NOT go to 2.10 because it changes behavior.
This commit is contained in:
parent
541f730f44
commit
756fed0cc2
1 changed files with 0 additions and 5 deletions
|
@ -1654,11 +1654,6 @@ gimp_layer_real_transform (GimpLayer *layer,
|
||||||
GimpTransformResize clip_result,
|
GimpTransformResize clip_result,
|
||||||
GimpProgress *progress)
|
GimpProgress *progress)
|
||||||
{
|
{
|
||||||
/* FIXME: make interpolated transformations work on layers without alpha */
|
|
||||||
if (interpolation_type != GIMP_INTERPOLATION_NONE &&
|
|
||||||
! gimp_drawable_has_alpha (GIMP_DRAWABLE (layer)))
|
|
||||||
gimp_layer_add_alpha (layer);
|
|
||||||
|
|
||||||
GIMP_ITEM_CLASS (parent_class)->transform (GIMP_ITEM (layer),
|
GIMP_ITEM_CLASS (parent_class)->transform (GIMP_ITEM (layer),
|
||||||
context, matrix, direction,
|
context, matrix, direction,
|
||||||
interpolation_type,
|
interpolation_type,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue