[gegl] operations: set reference-hash for rgb-clip and saturation



commit 858336fa7036ebd0c1c5905e23225291268f3362
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Mar 22 20:01:12 2018 +0100

    operations: set reference-hash for rgb-clip and saturation
    
    Verifying that they stay no-ops with the default property values - as the
    hash is the hash of the unmodified output.

 operations/common/rgb-clip.c   |    1 +
 operations/common/saturation.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/rgb-clip.c b/operations/common/rgb-clip.c
index 6f03723..d8462c7 100644
--- a/operations/common/rgb-clip.c
+++ b/operations/common/rgb-clip.c
@@ -185,6 +185,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name",        "gegl:rgb-clip",
     "title",       _("Clip RGB"),
+    "reference-hash", "ffb9e86edb25bc92e8d4e68f59bbb04b",
     "categories",  "color",
     "description", _("Keep RGB pixels values inside a specific range"),
     NULL);
diff --git a/operations/common/saturation.c b/operations/common/saturation.c
index 84fee29..dd73120 100644
--- a/operations/common/saturation.c
+++ b/operations/common/saturation.c
@@ -221,6 +221,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "name"       , "gegl:saturation",
     "title",       _("Saturation"),
+    "reference-hash", "ffb9e86edb25bc92e8d4e68f59bbb04b",
     "categories" , "color",
     "description", _("Changes the saturation"),
     NULL);


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