plug-ins: fix #6859 Hurl random pct limits in PDB are incorrect

(cherry picked from commit a038051bb8)
This commit is contained in:
Ian Martins 2021-05-11 06:27:26 -04:00 committed by Jehan
parent 003f137dc0
commit 825067eab7
2 changed files with 2 additions and 2 deletions

View File

@ -8253,7 +8253,7 @@ register_plug_in_compat_procs (GimpPDB *pdb)
g_param_spec_double ("rndm-pct",
"rndm pct",
"Randomization percentage",
1.0, 100.0, 1.0,
0.0, 100.0, 0.0,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument (procedure,
g_param_spec_double ("rndm-rcount",

View File

@ -3479,7 +3479,7 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
{ name => 'rndm_pct', type => '1.0 <= float <= 100.0',
{ name => 'rndm_pct', type => '0.0 <= float <= 100.0',
desc => 'Randomization percentage' },
{ name => 'rndm_rcount', type => '1.0 <= float <= 100.0',
desc => 'Repeat count' },