From 3cda160fc1b489f0d4a3120495c08b42b8af7e31 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 18 Apr 2015 23:57:10 +0200 Subject: [PATCH] plug-ins: the "icc-profile" parasite must be undoable --- plug-ins/file-psd/psd-image-res-load.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plug-ins/file-psd/psd-image-res-load.c b/plug-ins/file-psd/psd-image-res-load.c index be14456437..645dd700a1 100644 --- a/plug-ins/file-psd/psd-image-res-load.c +++ b/plug-ins/file-psd/psd-image-res-load.c @@ -1110,7 +1110,8 @@ load_resource_1039 (const PSDimageres *res_a, } parasite = gimp_parasite_new (GIMP_PARASITE_ICC_PROFILE, - GIMP_PARASITE_PERSISTENT, + GIMP_PARASITE_PERSISTENT | + GIMP_PARASITE_UNDOABLE, res_a->data_len, icc_profile); gimp_image_attach_parasite (image_id, parasite); gimp_parasite_free (parasite);