[gegl] normal-map: move from workshop to common



commit 3b5db4e6b5a3f483953c90f0c9e7f2f3066b4a5d
Author: Ell <ell_se yahoo com>
Date:   Wed Oct 23 19:40:36 2019 +0300

    normal-map: move from workshop to common

 operations/common/meson.build                | 1 +
 operations/{workshop => common}/normal-map.c | 9 +++++----
 operations/workshop/meson.build              | 1 -
 po/POTFILES.in                               | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/meson.build b/operations/common/meson.build
index 6845bd7f1..50a10d9de 100644
--- a/operations/common/meson.build
+++ b/operations/common/meson.build
@@ -72,6 +72,7 @@ gegl_common_sources = files(
   'noise-rgb.c',
   'noise-simplex.c',
   'noise-spread.c',
+  'normal-map.c',
   'opacity.c',
   'open-buffer.c',
   'over.c',
diff --git a/operations/workshop/normal-map.c b/operations/common/normal-map.c
similarity index 97%
rename from operations/workshop/normal-map.c
rename to operations/common/normal-map.c
index a3535f1f6..a24cfc6f2 100644
--- a/operations/workshop/normal-map.c
+++ b/operations/common/normal-map.c
@@ -245,10 +245,11 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->get_bounding_box = get_bounding_box;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",        "gegl:normal-map",
-    "title",       _("Normal Map"),
-    "categories",  "map",
-    "description", _("Generate a normal map from a height map"),
+    "name",           "gegl:normal-map",
+    "title",          _("Normal Map"),
+    "categories",     "misc",
+    "reference-hash", "5f6052195f03b52185942a2c1fecd98d",
+    "description",    _("Generate a normal map from a height map"),
     NULL);
 }
 
diff --git a/operations/workshop/meson.build b/operations/workshop/meson.build
index 0f7c30c93..8d8bbab05 100644
--- a/operations/workshop/meson.build
+++ b/operations/workshop/meson.build
@@ -15,7 +15,6 @@ libraries = [
   { 'name': 'gradient-map', },
   { 'name': 'hstack', },
   { 'name': 'integral-image', },
-  { 'name': 'normal-map', },
   { 'name': 'rawbayer-load', },
   { 'name': 'segment-kmeans', },
   { 'name': 'selective-hue-saturation', },
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 77a241153..0a15b749b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -85,6 +85,7 @@ operations/common/noise-reduction.c
 operations/common/noise-rgb.c
 operations/common/noise-simplex.c
 operations/common/noise-spread.c
+operations/common/normal-map.c
 operations/common/opacity.c
 operations/common/open-buffer.c
 operations/common/over.c
@@ -279,7 +280,6 @@ operations/workshop/generated/subtractive.c
 operations/workshop/gradient-map.c
 operations/workshop/hstack.c
 operations/workshop/integral-image.c
-operations/workshop/normal-map.c
 operations/workshop/rawbayer-load.c
 operations/workshop/segment-kmeans.c
 operations/workshop/selective-hue-saturation.c


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