summaryrefslogtreecommitdiffstats
path: root/pdb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:52 +0000
commitdb0da4c882437f3b76a34308edeaa2c41d8c2833 (patch)
tree7f4486279e1f9819d406f1425cab495d5852bf81 /pdb
parentReleasing progress-linux version 2.10.36-3~progress7.99u1. (diff)
downloadgimp-db0da4c882437f3b76a34308edeaa2c41d8c2833.tar.xz
gimp-db0da4c882437f3b76a34308edeaa2c41d8c2833.zip
Merging upstream version 2.10.38.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pdb')
-rw-r--r--pdb/groups/plug_in_compat.pdb22
1 files changed, 13 insertions, 9 deletions
diff --git a/pdb/groups/plug_in_compat.pdb b/pdb/groups/plug_in_compat.pdb
index d156768..849d71c 100644
--- a/pdb/groups/plug_in_compat.pdb
+++ b/pdb/groups/plug_in_compat.pdb
@@ -1508,8 +1508,8 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'radius', type => '0.0 <= float <= 500.0',
- desc => 'Radius of gaussian blur (in pixels' },
+ { name => 'radius', type => '0.0 <= float <= 1500.0',
+ desc => 'Radius of gaussian blur (in pixels)' },
{ name => 'horizontal', type => 'boolean',
desc => 'Blur in horizontal direction' },
{ name => 'vertical', type => 'boolean',
@@ -1583,8 +1583,8 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'radius', type => '0.0 <= float <= 500.0',
- desc => 'Radius of gaussian blur (in pixels' },
+ { name => 'radius', type => '0.0 <= float <= 1500.0',
+ desc => 'Radius of gaussian blur (in pixels)' },
{ name => 'horizontal', type => 'boolean',
desc => 'Blur in horizontal direction' },
{ name => 'vertical', type => 'boolean',
@@ -3384,11 +3384,15 @@ HELP
GIMP_PDB_ITEM_CONTENT, error) &&
gimp_pdb_item_is_not_group (GIMP_ITEM (drawable), error))
{
- GeglNode *node;
- gint x, y, width, height;
+ GimpImage *image = gimp_item_get_image (GIMP_ITEM (drawable));
+ GeglNode *node;
+ gint x, y, width, height;
gimp_item_mask_intersect (GIMP_ITEM (drawable), &x, &y, &width, &height);
+ if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
+ x = y = 0;
+
node = gegl_node_new_child (NULL,
"operation", "gegl:plasma",
"seed", seed,
@@ -4411,9 +4415,9 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'spread_amount_x', type => '0 <= float <= 200',
+ { name => 'spread_amount_x', type => '0 <= float <= 512',
desc => 'Horizontal spread amount' },
- { name => 'spread_amount_y', type => '0 <= float <= 200',
+ { name => 'spread_amount_y', type => '0 <= float <= 512',
desc => 'Vertical spread amount' }
);
@@ -4910,7 +4914,7 @@ HELP
desc => 'The Amplitude of the Waves' },
{ name => 'phase', type => '-360 <= float <= 360',
desc => 'The Phase of the Waves' },
- { name => 'wavelength', type => '0.1 <= float <= 50',
+ { name => 'wavelength', type => '0.1 <= float <= 100',
desc => 'The Wavelength of the Waves' },
{ name => 'type', type => 'boolean',
desc => 'Type of waves: { 0 = smeared, 1 = black }' },