Commit 18bab869 authored by Ell's avatar Ell

app: avoid CRITICAL when loading XCF with empty symmetry parasites

(cherry picked from commit e97f2510)
parent 3a356db7
......@@ -471,7 +471,13 @@ gimp_symmetry_from_parasite (const GimpParasite *parasite,
str = gimp_parasite_data (parasite);
g_return_val_if_fail (str != NULL, NULL);
if (! str)
g_warning ("Empty symmetry parasite \"%s\"", parasite_name);
return NULL;
symmetry = gimp_image_symmetry_new (image, type);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment