XCF: use version >=9 if layer mode is one of the new LCH modes

This commit is contained in:
Øyvind Kolås 2017-01-01 21:52:00 +01:00
parent c2665a2e43
commit e2bcf88089
1 changed files with 4 additions and 0 deletions

View File

@ -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;