Commit fa593afd authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 9ed8b809
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"));
}
......
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