allow to raise a layer w/o an alpha channel.
2005-06-14 Sven Neumann <sven@gimp.org> * app/core/gimpimage.c (gimp_image_raise_layer) (gimp_image_raise_layer_to_top): allow to raise a layer w/o an alpha channel.
This commit is contained in:
parent
9ed8b8099d
commit
fa593afdbf
2 changed files with 3 additions and 8 deletions
|
|
@ -1,7 +1,8 @@
|
|||
2005-06-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimage.c (gimp_image_raise_layer): allow to raise a
|
||||
layer w/o an alpha channel.
|
||||
* app/core/gimpimage.c (gimp_image_raise_layer)
|
||||
(gimp_image_raise_layer_to_top): allow to raise a layer w/o an
|
||||
alpha channel.
|
||||
|
||||
2005-06-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
|
|
|
|||
|
|
@ -2972,12 +2972,6 @@ gimp_image_raise_layer_to_top (GimpImage *gimage,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (! gimp_drawable_has_alpha (GIMP_DRAWABLE (layer)))
|
||||
{
|
||||
g_message (_("Cannot raise a layer without alpha."));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return gimp_image_position_layer (gimage, layer, 0,
|
||||
TRUE, _("Raise Layer to Top"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue