[gimp/gimp-2-10] app, menus: add gegl:normal-map to Filters -> Generic
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app, menus: add gegl:normal-map to Filters -> Generic
- Date: Wed, 23 Oct 2019 17:05:10 +0000 (UTC)
commit ed1d5364a4bef05d1f805f324e79f399afbb41a6
Author: Ell <ell_se yahoo com>
Date: Wed Oct 23 20:02:20 2019 +0300
app, menus: add gegl:normal-map to Filters -> Generic
(cherry picked from commit 6adf77e13a85b6b7687606e8dd9f6487c340d6e8)
app/actions/filters-actions.c | 6 ++++++
app/sanity.c | 1 +
app/tools/gimpgegltool.c | 1 +
app/widgets/gimphelp-ids.h | 1 +
menus/image-menu.xml.in | 1 +
5 files changed, 10 insertions(+)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index e849921b95..29a7949f54 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -544,6 +544,11 @@ static const GimpStringActionEntry filters_interactive_actions[] =
"gegl:noise-spread",
GIMP_HELP_FILTER_NOISE_SPREAD },
+ { "filters-normal-map", GIMP_ICON_GEGL,
+ NC_("filters-action", "_Normal Map..."), NULL, NULL,
+ "gegl:normal-map",
+ GIMP_HELP_FILTER_NORMAL_MAP },
+
{ "filters-offset", GIMP_ICON_TOOL_OFFSET,
NC_("filters-action", "_Offset..."), "<primary><shift>O", NULL,
"gimp:offset",
@@ -952,6 +957,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-noise-slur", writable);
SET_SENSITIVE ("filters-noise-solid", writable);
SET_SENSITIVE ("filters-noise-spread", writable);
+ SET_SENSITIVE ("filters-normal-map", writable);
SET_SENSITIVE ("filters-offset", writable);
SET_SENSITIVE ("filters-oilify", writable);
SET_SENSITIVE ("filters-panorama-projection", writable);
diff --git a/app/sanity.c b/app/sanity.c
index a01b840be2..f5739166bd 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -677,6 +677,7 @@ sanity_check_gegl_ops (void)
"gegl:noise-slur",
"gegl:noise-solid",
"gegl:noise-spread",
+ "gegl:normal-map",
"gegl:npd",
"gegl:oilify",
"gegl:opacity",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 09a87fd660..a7528dc670 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -214,6 +214,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:noise-slur",
"gegl:noise-solid",
"gegl:noise-spread",
+ "gegl:normal-map",
"gegl:oilify",
"gegl:panorama-projection",
"gegl:perlin-noise",
diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h
index 0b62ac276b..28be90a841 100644
--- a/app/widgets/gimphelp-ids.h
+++ b/app/widgets/gimphelp-ids.h
@@ -418,6 +418,7 @@
#define GIMP_HELP_FILTER_NOISE_SLUR "gimp-filter-noise-slur"
#define GIMP_HELP_FILTER_NOISE_SOLID "gimp-filter-noise-solid"
#define GIMP_HELP_FILTER_NOISE_SPREAD "gimp-filter-noise-spread"
+#define GIMP_HELP_FILTER_NORMAL_MAP "gimp-filter-normal-map"
#define GIMP_HELP_FILTER_OILIFY "gimp-filter-oilify"
#define GIMP_HELP_FILTER_PANORAMA_PROJECTION "gimp-filter-panorama-projection"
#define GIMP_HELP_FILTER_PHOTOCOPY "gimp-filter-photocopy"
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 661ea900e8..3dc3065de0 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -768,6 +768,7 @@
<menuitem action="filters-convolution-matrix" />
<menuitem action="filters-distance-map" />
<menuitem action="filters-gegl-graph" />
+ <menuitem action="filters-normal-map" />
<menuitem action="filters-dilate" />
<menuitem action="filters-erode" />
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]