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:
@ -684,14 +684,14 @@ drawable_shadows_highlights_invoker (GimpProcedure *procedure,
|
|||||||
{
|
{
|
||||||
GeglNode *node;
|
GeglNode *node;
|
||||||
node = gegl_node_new_child (NULL,
|
node = gegl_node_new_child (NULL,
|
||||||
"operation", "gegl:shadows-highlights",
|
"operation", "gegl:shadows-highlights",
|
||||||
"shadows", shadows,
|
"shadows", shadows,
|
||||||
"highlights", highlights,
|
"highlights", highlights,
|
||||||
"whitepoint", whitepoint,
|
"whitepoint", whitepoint,
|
||||||
"radius", radius,
|
"radius", radius,
|
||||||
"compress", compress,
|
"compress", compress,
|
||||||
"shadows_correct", shadows_ccorrect,
|
"shadows-ccorrect", shadows_ccorrect,
|
||||||
"highlights_correct", highlights_ccorrect,
|
"highlights-ccorrect", highlights_ccorrect,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
gimp_drawable_apply_operation (drawable, progress,
|
gimp_drawable_apply_operation (drawable, progress,
|
||||||
@ -1334,7 +1334,7 @@ register_drawable_color_procs (GimpPDB *pdb)
|
|||||||
gimp_procedure_set_static_strings (procedure,
|
gimp_procedure_set_static_strings (procedure,
|
||||||
"gimp-drawable-shadows-highlights",
|
"gimp-drawable-shadows-highlights",
|
||||||
"Perform shadows and highlights correction.",
|
"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",
|
"2021",
|
||||||
|
@ -622,7 +622,7 @@ gimp_drawable_levels_stretch (gint32 drawable_ID)
|
|||||||
*
|
*
|
||||||
* This filter allows adjusting shadows and highlights in the image
|
* This filter allows adjusting shadows and highlights in the image
|
||||||
* separately. The implementation closely follow its counterpart in the
|
* separately. The implementation closely follow its counterpart in the
|
||||||
* Darktable photography software
|
* Darktable photography software.
|
||||||
*
|
*
|
||||||
* Returns: TRUE on success.
|
* Returns: TRUE on success.
|
||||||
*
|
*
|
||||||
|
@ -753,14 +753,14 @@ HELP
|
|||||||
{
|
{
|
||||||
GeglNode *node;
|
GeglNode *node;
|
||||||
node = gegl_node_new_child (NULL,
|
node = gegl_node_new_child (NULL,
|
||||||
"operation", "gegl:shadows-highlights",
|
"operation", "gegl:shadows-highlights",
|
||||||
"shadows", shadows,
|
"shadows", shadows,
|
||||||
"highlights", highlights,
|
"highlights", highlights,
|
||||||
"whitepoint", whitepoint,
|
"whitepoint", whitepoint,
|
||||||
"radius", radius,
|
"radius", radius,
|
||||||
"compress", compress,
|
"compress", compress,
|
||||||
"shadows_correct", shadows_ccorrect,
|
"shadows-ccorrect", shadows_ccorrect,
|
||||||
"highlights_correct", highlights_ccorrect,
|
"highlights-ccorrect", highlights_ccorrect,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
gimp_drawable_apply_operation (drawable, progress,
|
gimp_drawable_apply_operation (drawable, progress,
|
||||||
|
Reference in New Issue
Block a user