From b9a679908296805f1674315e681dac94b30bd5c8 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 13 Feb 2023 13:50:14 +0100 Subject: [PATCH] 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 e456ab019b87ad46c97d560c2a99bf0a82bfb5f3) --- app/pdb/drawable-color-cmds.c | 16 ++++++++-------- pdb/groups/drawable_color.pdb | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/pdb/drawable-color-cmds.c b/app/pdb/drawable-color-cmds.c index 0128f86912..8891cfe8ef 100644 --- a/app/pdb/drawable-color-cmds.c +++ b/app/pdb/drawable-color-cmds.c @@ -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, diff --git a/pdb/groups/drawable_color.pdb b/pdb/groups/drawable_color.pdb index ef21f112a3..37b3414d23 100644 --- a/pdb/groups/drawable_color.pdb +++ b/pdb/groups/drawable_color.pdb @@ -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,