summaryrefslogtreecommitdiffstats
path: root/pdb
diff options
context:
space:
mode:
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 }' },