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:
parent
e238ea07ca
commit
b9a6799082
2 changed files with 16 additions and 16 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue