app: add gegl:distance-transform to Filters->Generic as "Distance Map"
This commit is contained in:
@ -124,6 +124,11 @@ static const GimpStringActionEntry filters_actions[] =
|
|||||||
"gegl:difference-of-gaussians",
|
"gegl:difference-of-gaussians",
|
||||||
NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
|
NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
|
||||||
|
|
||||||
|
{ "filters-distance-map", GIMP_STOCK_GEGL,
|
||||||
|
NC_("filters-action", "Distance Map..."), NULL, NULL,
|
||||||
|
"gegl:distance-transform",
|
||||||
|
NULL /* FIXME GIMP_HELP_FILTER_DISTANCE_MAP */ },
|
||||||
|
|
||||||
{ "filters-dropshadow", GIMP_STOCK_GEGL,
|
{ "filters-dropshadow", GIMP_STOCK_GEGL,
|
||||||
NC_("filters-action", "_Drop Shadow..."), NULL, NULL,
|
NC_("filters-action", "_Drop Shadow..."), NULL, NULL,
|
||||||
"gegl:dropshadow",
|
"gegl:dropshadow",
|
||||||
@ -432,6 +437,7 @@ filters_actions_update (GimpActionGroup *group,
|
|||||||
SET_SENSITIVE ("filters-cubism", writable);
|
SET_SENSITIVE ("filters-cubism", writable);
|
||||||
SET_SENSITIVE ("filters-deinterlace", writable);
|
SET_SENSITIVE ("filters-deinterlace", writable);
|
||||||
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
|
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
|
||||||
|
SET_SENSITIVE ("filters-distance-map", writable);
|
||||||
SET_SENSITIVE ("filters-dropshadow", writable && alpha);
|
SET_SENSITIVE ("filters-dropshadow", writable && alpha);
|
||||||
SET_SENSITIVE ("filters-edge-laplace", writable);
|
SET_SENSITIVE ("filters-edge-laplace", writable);
|
||||||
SET_SENSITIVE ("filters-edge-sobel", writable);
|
SET_SENSITIVE ("filters-edge-sobel", writable);
|
||||||
|
@ -491,6 +491,7 @@ sanity_check_gegl_ops (void)
|
|||||||
"gegl:cubism",
|
"gegl:cubism",
|
||||||
"gegl:deinterlace",
|
"gegl:deinterlace",
|
||||||
"gegl:difference-of-gaussians",
|
"gegl:difference-of-gaussians",
|
||||||
|
"gegl:distance-transform",
|
||||||
"gegl:dropshadow",
|
"gegl:dropshadow",
|
||||||
"gegl:edge-laplace",
|
"gegl:edge-laplace",
|
||||||
"gegl:edge-sobel",
|
"gegl:edge-sobel",
|
||||||
|
@ -132,6 +132,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
|
|||||||
"gegl:cubism",
|
"gegl:cubism",
|
||||||
"gegl:deinterlace",
|
"gegl:deinterlace",
|
||||||
"gegl:difference-of-gaussians",
|
"gegl:difference-of-gaussians",
|
||||||
|
"gegl:distance-transform",
|
||||||
"gegl:dropshadow",
|
"gegl:dropshadow",
|
||||||
"gegl:edge-laplace",
|
"gegl:edge-laplace",
|
||||||
"gegl:edge-sobel",
|
"gegl:edge-sobel",
|
||||||
|
@ -687,6 +687,7 @@
|
|||||||
</menu>
|
</menu>
|
||||||
<menu action="plug-in-generic-menu" name="Generic">
|
<menu action="plug-in-generic-menu" name="Generic">
|
||||||
<menuitem action="filters-convolution-matrix" />
|
<menuitem action="filters-convolution-matrix" />
|
||||||
|
<menuitem action="filters-distance-map" />
|
||||||
</menu>
|
</menu>
|
||||||
<menu action="plug-in-combine-menu" name="Combine" />
|
<menu action="plug-in-combine-menu" name="Combine" />
|
||||||
<menu action="plug-in-artistic-menu" name="Artistic">
|
<menu action="plug-in-artistic-menu" name="Artistic">
|
||||||
|
Reference in New Issue
Block a user