From e2bcf88089e2c6aa7ea270eea80eae95daaf80cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Sun, 1 Jan 2017 21:52:00 +0100 Subject: [PATCH] XCF: use version >=9 if layer mode is one of the new LCH modes --- app/core/gimpimage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c index 42aef5d697..b750fe1e92 100644 --- a/app/core/gimpimage.c +++ b/app/core/gimpimage.c @@ -2403,6 +2403,10 @@ gimp_image_get_xcf_version (GimpImage *image, /* new layer modes not supported by gimp-2.8 */ case GIMP_NEW_OVERLAY_MODE: + case GIMP_LCH_HUE_MODE: + case GIMP_LCH_CHROMA_MODE: + case GIMP_LCH_COLOR_MODE: + case GIMP_LCH_LIGHTNESS_MODE: version = MAX (9, version); break;