[gimp] app: add gegl:lens-flare to Filters -> Light and Shadow



commit 27ec429b43514451322cbfaf2e11f1e32835a389
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Wed Dec 31 13:12:53 2014 +0300

    app: add gegl:lens-flare to Filters -> Light and Shadow

 app/actions/filters-actions.c |    6 ++++++
 app/sanity.c                  |    1 +
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index be0504e..02d8330 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -194,6 +194,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:lens-distortion",
     NULL /* FIXME GIMP_HELP_FILTER_LENS_DISTORTION */ },
 
+  { "filters-lens-flare", GIMP_STOCK_GEGL,
+    NC_("filters-action", "Lens Flare..."), NULL, NULL,
+    "gegl:lens-flare",
+    NULL /* FIXME GIMP_HELP_FILTER_LENS_FLARE */ },
+
   { "filters-mono-mixer", GIMP_STOCK_GEGL,
     NC_("filters-action", "Mono Mixer..."), NULL, NULL,
     "gegl:mono-mixer",
@@ -491,6 +496,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-illusion",                writable);
   SET_SENSITIVE ("filters-kaleidoscope",            writable);
   SET_SENSITIVE ("filters-lens-distortion",         writable);
+  SET_SENSITIVE ("filters-lens-flare",              writable);
   SET_SENSITIVE ("filters-mono-mixer",              writable && !gray);
   SET_SENSITIVE ("filters-mosaic",                  writable);
   SET_SENSITIVE ("filters-motion-blur-circular",    writable);
diff --git a/app/sanity.c b/app/sanity.c
index 9d4e0a6..67be179 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -507,6 +507,7 @@ sanity_check_gegl_ops (void)
     "gegl:invert-gamma",
     "gegl:invert-linear",
     "gegl:lens-distortion",
+    "gegl:lens-flare",
     "gegl:map-absolute",
     "gegl:map-relative",
     "gegl:matting-global",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index b2a07c2..3e41753 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -147,6 +147,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:invert-linear",
     "gegl:invert-gamma",
     "gegl:lens-distortion",
+    "gegl:lens-flare",
     "gegl:mirrors",
     "gegl:mono-mixer",
     "gegl:mosaic",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 4c9ca01..2d3c61f 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -667,6 +667,7 @@
       <menu action="plug-in-light-shadow-menu" name="Light and Shadow">
         <placeholder name="Light">
          <menuitem action="filters-supernova" />
+    <menuitem action="filters-lens-flare" />
        </placeholder>
         <separator />
         <placeholder name="Shadow">


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