mirror of https://github.com/GNOME/gimp.git
app: remove xcf-load check that layer_type == image_type
This is not always true for floating selections.
This commit is contained in:
parent
87596258d0
commit
5d3583af87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue