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



commit e2bcf88089e2c6aa7ea270eea80eae95daaf80cd
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 1 21:52:00 2017 +0100

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

 app/core/gimpimage.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 42aef5d..b750fe1 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]