[gimp] app: add gegl:perlin-noise and gegl:simplex-noise to Filters->Render->Clouds
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:perlin-noise and gegl:simplex-noise to Filters->Render->Clouds
- Date: Fri, 16 May 2014 23:19:49 +0000 (UTC)
commit 9e1ee4235fe2df0a30587173de9de0220e3b2e86
Author: Michael Natterer <mitch gimp org>
Date: Sat May 17 01:17:30 2014 +0200
app: add gegl:perlin-noise and gegl:simplex-noise to Filters->Render->Clouds
app/actions/filters-actions.c | 12 ++++++++++++
app/sanity.c | 2 ++
app/tools/gimpgegltool.c | 2 ++
menus/image-menu.xml.in | 2 ++
4 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 4c76ea1..8c9afe8 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -205,6 +205,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:noise-hurl",
NULL /* FIXME GIMP_HELP_FILTER_NOISE_HURL */ },
+ { "filters-noise-perlin", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Perlin Noise..."), NULL, NULL,
+ "gegl:perlin-noise",
+ NULL /* FIXME GIMP_HELP_FILTER_NOISE_PERLIIN */ },
+
{ "filters-noise-pick", GIMP_STOCK_GEGL,
NC_("filters-action", "_Pick..."), NULL, NULL,
"gegl:noise-pick",
@@ -220,6 +225,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:noise-reduction",
NULL /* FIXME GIMP_HELP_FILTER_NOISE_REDUCTION */ },
+ { "filters-noise-simplex", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Simplex Noise..."), NULL, NULL,
+ "gegl:simplex-noise",
+ NULL /* FIXME GIMP_HELP_FILTER_NOISE_SIMPLEX */ },
+
{ "filters-noise-slur", GIMP_STOCK_GEGL,
NC_("filters-action", "_Slur..."), NULL, NULL,
"gegl:noise-slur",
@@ -418,9 +428,11 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-noise-cie-lch", writable);
SET_SENSITIVE ("filters-noise-hsv", writable && !gray);
SET_SENSITIVE ("filters-noise-hurl", writable);
+ SET_SENSITIVE ("filters-noise-perlin", writable);
SET_SENSITIVE ("filters-noise-pick", writable);
SET_SENSITIVE ("filters-noise-reduction", writable);
SET_SENSITIVE ("filters-noise-rgb", writable);
+ SET_SENSITIVE ("filters-noise-simplex", writable);
SET_SENSITIVE ("filters-noise-slur", writable);
SET_SENSITIVE ("filters-noise-spread", writable);
SET_SENSITIVE ("filters-lens-distortion", writable);
diff --git a/app/sanity.c b/app/sanity.c
index f524d33..160c32e 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -515,6 +515,7 @@ sanity_check_gegl_ops (void)
"gegl:noise-spread",
"gegl:opacity",
"gegl:over",
+ "gegl:perlin-noise",
"gegl:photocopy",
"gegl:pixelize",
"gegl:polar-coordinates",
@@ -523,6 +524,7 @@ sanity_check_gegl_ops (void)
"gegl:scale-ratio",
"gegl:seamless-clone",
"gegl:shift",
+ "gegl:simplex-noise",
"gegl:softglow",
"gegl:threshold",
"gegl:tile",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 477b9d9..49e2591 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -154,12 +154,14 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:noise-rgb",
"gegl:noise-slur",
"gegl:noise-spread",
+ "gegl:perlin-noise",
"gegl:photocopy",
"gegl:pixelize",
"gegl:plasma",
"gegl:polar-coordinates",
"gegl:red-eye-removal",
"gegl:ripple",
+ "gegl:simplex-noise",
"gegl:shift",
"gegl:softglow",
"gegl:stretch-contrast",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index ddcb88a..5b7a1e0 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -701,7 +701,9 @@
<menu action="plug-in-render-menu" name="Render">
<menu action="plug-in-render-clouds-menu" name="Clouds">
<menuitem action="filters-noise-cell" />
+ <menuitem action="filters-noise-perlin" />
<menuitem action="filters-plasma" />
+ <menuitem action="filters-noise-simplex" />
</menu>
<menu action="plug-in-render-nature-menu" name="Nature" />
<menu action="plug-in-render-pattern-menu" name="Pattern">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]