Commit 9ed8b809 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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): allow to raise a
	layer w/o an alpha channel.
parent 511b5478
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.
2005-06-14 Sven Neumann <sven@gimp.org>
* app/core/gimp-gradients.c: renamed internal keys.
......
......@@ -2928,12 +2928,6 @@ gimp_image_raise_layer (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, index - 1,
TRUE, _("Raise Layer"));
}
......
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