app: remove xcf-load check that layer_type == image_type

This is not always true for floating selections.
This commit is contained in:
Michael Natterer 2014-06-07 17:52:32 +02:00
parent 87596258d0
commit 5d3583af87
1 changed files with 1 additions and 2 deletions

View File

@ -1390,8 +1390,7 @@ xcf_load_layer (XcfInfo *info,
return NULL;
}
if (gimp_image_get_base_type (image) != base_type ||
width <= 0 || height <= 0)
if (width <= 0 || height <= 0)
return NULL;
/* do not use gimp_image_get_layer_format() because it might