[gegl] noise-*: mark as position dependent



commit 965fc2048162952d2897359cc9d22c01df813c17
Author: Ell <ell_se yahoo com>
Date:   Tue May 19 11:40:18 2020 +0300

    noise-*: mark as position dependent

 operations/common/noise-cie-lch.c | 9 +++++----
 operations/common/noise-hsv.c     | 9 +++++----
 operations/common/noise-hurl.c    | 9 +++++----
 operations/common/noise-rgb.c     | 9 +++++----
 4 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/operations/common/noise-cie-lch.c b/operations/common/noise-cie-lch.c
index 38867cbae..ad0a61412 100644
--- a/operations/common/noise-cie-lch.c
+++ b/operations/common/noise-cie-lch.c
@@ -191,10 +191,11 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class->process = process;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",        "gegl:noise-cie-lch",
-    "title",       _("Add CIE Lch Noise"),
-    "reference-hash", "7b01f2a1f2d866e1349748b70403b2a4",
-    "categories",  "noise",
+    "name",               "gegl:noise-cie-lch",
+    "title",              _("Add CIE Lch Noise"),
+    "reference-hash",     "7b01f2a1f2d866e1349748b70403b2a4",
+    "categories",         "noise",
+    "position-dependent", "true",
     "description", _("Randomize lightness, chroma and hue independently"),
     NULL);
 }
diff --git a/operations/common/noise-hsv.c b/operations/common/noise-hsv.c
index e5ff441bf..083a55f85 100644
--- a/operations/common/noise-hsv.c
+++ b/operations/common/noise-hsv.c
@@ -273,10 +273,11 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class->cl_process = cl_process;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",       "gegl:noise-hsv",
-    "title",      _("Add HSV Noise"),
-    "categories", "noise",
-    "reference-hash", "742a94075b6ddfaf86638691bf654b3b",
+    "name",               "gegl:noise-hsv",
+    "title",              _("Add HSV Noise"),
+    "categories",         "noise",
+    "position-dependent", "true",
+    "reference-hash",     "742a94075b6ddfaf86638691bf654b3b",
     "description", _("Randomize hue, saturation and value independently"),
       NULL);
 }
diff --git a/operations/common/noise-hurl.c b/operations/common/noise-hurl.c
index b2b661315..e07da28da 100644
--- a/operations/common/noise-hurl.c
+++ b/operations/common/noise-hurl.c
@@ -241,10 +241,11 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class->cl_process = cl_process;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",       "gegl:noise-hurl",
-    "title",      _("Randomly Shuffle Pixels"),
-    "categories", "noise",
-    "reference-hash", "ad5a185323d116cfee0e74d3283dde79",
+    "name",               "gegl:noise-hurl",
+    "title",              _("Randomly Shuffle Pixels"),
+    "categories",         "noise",
+    "position-dependent", "true",
+    "reference-hash",     "ad5a185323d116cfee0e74d3283dde79",
     "description", _("Completely randomize a fraction of pixels"),
     NULL);
 }
diff --git a/operations/common/noise-rgb.c b/operations/common/noise-rgb.c
index 9708156dc..ea0304b2b 100644
--- a/operations/common/noise-rgb.c
+++ b/operations/common/noise-rgb.c
@@ -209,10 +209,11 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class->process = process;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",           "gegl:noise-rgb",
-    "title",          _("Add RGB Noise"),
-    "categories",     "noise",
-    "reference-hash", "3f537624e94b49109b5d809363b25ef0",
+    "name",               "gegl:noise-rgb",
+    "title",              _("Add RGB Noise"),
+    "categories",         "noise",
+    "position-dependent", "true",
+    "reference-hash",     "3f537624e94b49109b5d809363b25ef0",
     "description", _("Distort colors by random amounts"),
     NULL);
 }


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