mirror of https://github.com/GNOME/gimp.git
removed the check again because adding e.g. GRAY drawables to RGB images
2003-06-12 Michael Natterer <mitch@gimp.org> * app/core/gimpdrawable.c (gimp_drawable_configure): removed the check again because adding e.g. GRAY drawables to RGB images is prefectly ok as long as they are channels/masks.
This commit is contained in:
parent
d942668ff6
commit
9b206bd4df
|
@ -1,3 +1,9 @@
|
|||
2003-06-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpdrawable.c (gimp_drawable_configure): removed the
|
||||
check again because adding e.g. GRAY drawables to RGB images is
|
||||
prefectly ok as long as they are channels/masks.
|
||||
|
||||
2003-06-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpdrawable.c (gimp_drawable_configure): check if the
|
||||
|
|
|
@ -572,7 +572,6 @@ gimp_drawable_configure (GimpDrawable *drawable,
|
|||
{
|
||||
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
|
||||
g_return_if_fail (GIMP_IS_IMAGE (gimage));
|
||||
g_return_if_fail (GIMP_IMAGE_TYPE_BASE_TYPE (type) == gimp_image_base_type (gimage));
|
||||
|
||||
gimp_item_configure (GIMP_ITEM (drawable), gimage,
|
||||
offset_x, offset_y, width, height, name);
|
||||
|
|
Loading…
Reference in New Issue