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.

(cherry picked from commit e456ab019b)
This commit is contained in:
Jehan 2023-02-13 13:50:14 +01:00
parent e238ea07ca
commit b9a6799082
2 changed files with 16 additions and 16 deletions

View file

@ -676,14 +676,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,

View file

@ -745,14 +745,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,