app, libgimp, pdb: fixing generated code and wrong GEGL op arguments.

This commit is a fixup commit for MR !790 which had a few issues:

- The args for shadows and highlights adjustments are "shadows-ccorrect" and
  "highlights-ccorrect" respectively.
- Also fixing generated code.
This commit is contained in:
Jehan
2023-02-13 13:50:14 +01:00
parent 0b96363e10
commit e456ab019b
3 changed files with 18 additions and 18 deletions

View File

@ -684,14 +684,14 @@ drawable_shadows_highlights_invoker (GimpProcedure *procedure,
{
GeglNode *node;
node = gegl_node_new_child (NULL,
"operation", "gegl:shadows-highlights",
"shadows", shadows,
"highlights", highlights,
"whitepoint", whitepoint,
"radius", radius,
"compress", compress,
"shadows_correct", shadows_ccorrect,
"highlights_correct", highlights_ccorrect,
"operation", "gegl:shadows-highlights",
"shadows", shadows,
"highlights", highlights,
"whitepoint", whitepoint,
"radius", radius,
"compress", compress,
"shadows-ccorrect", shadows_ccorrect,
"highlights-ccorrect", highlights_ccorrect,
NULL);
gimp_drawable_apply_operation (drawable, progress,
@ -1334,7 +1334,7 @@ register_drawable_color_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-drawable-shadows-highlights",
"Perform shadows and highlights correction.",
"This filter allows adjusting shadows and highlights in the image separately. The implementation closely follow its counterpart in the Darktable photography software",
"This filter allows adjusting shadows and highlights in the image separately. The implementation closely follow its counterpart in the Darktable photography software.",
"",
"",
"2021",

View File

@ -622,7 +622,7 @@ gimp_drawable_levels_stretch (gint32 drawable_ID)
*
* This filter allows adjusting shadows and highlights in the image
* separately. The implementation closely follow its counterpart in the
* Darktable photography software
* Darktable photography software.
*
* Returns: TRUE on success.
*

View File

@ -753,14 +753,14 @@ HELP
{
GeglNode *node;
node = gegl_node_new_child (NULL,
"operation", "gegl:shadows-highlights",
"shadows", shadows,
"highlights", highlights,
"whitepoint", whitepoint,
"radius", radius,
"compress", compress,
"shadows_correct", shadows_ccorrect,
"highlights_correct", highlights_ccorrect,
"operation", "gegl:shadows-highlights",
"shadows", shadows,
"highlights", highlights,
"whitepoint", whitepoint,
"radius", radius,
"compress", compress,
"shadows-ccorrect", shadows_ccorrect,
"highlights-ccorrect", highlights_ccorrect,
NULL);
gimp_drawable_apply_operation (drawable, progress,