From 100ab0cb77b233d274bb7169492b7b591b885638 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 16 Oct 2007 06:30:59 +0000 Subject: [PATCH] increased the arbitrary upper limit on the number of segments in 2007-10-16 Sven Neumann * tools/pdbgen/pdb/gradient.pdb: increased the arbitrary upper limit on the number of segments in gimp-gradient-segment-range-split-uniform. The old value used to create errors in the "Palette to Gradient" script for most of our palettes. * app/pdb/gradient_cmds.c: regenerated. svn path=/trunk/; revision=23838 --- ChangeLog | 10 ++++++++++ app/pdb/gradient_cmds.c | 2 +- tools/pdbgen/pdb/gradient.pdb | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7d6dcdd73..947dc9fe53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-10-16 Sven Neumann + + * tools/pdbgen/pdb/gradient.pdb: increased the arbitrary upper + limit on the number of segments in + gimp-gradient-segment-range-split-uniform. The old value used to + create errors in the "Palette to Gradient" script for most of our + palettes. + + * app/pdb/gradient_cmds.c: regenerated. + 2007-10-16 Sven Neumann * libgimp/gimplayer.c (gimp_layer_copy): removed obsolete comment diff --git a/app/pdb/gradient_cmds.c b/app/pdb/gradient_cmds.c index 36bbcf63f6..3a070ee46e 100644 --- a/app/pdb/gradient_cmds.c +++ b/app/pdb/gradient_cmds.c @@ -2279,7 +2279,7 @@ register_gradient_procs (GimpPDB *pdb) gimp_param_spec_int32 ("split-parts", "split parts", "The number of uniform divisions to split each segment to", - 2, 20, 2, + 2, 1024, 2, GIMP_PARAM_READWRITE)); gimp_pdb_register_procedure (pdb, procedure); g_object_unref (procedure); diff --git a/tools/pdbgen/pdb/gradient.pdb b/tools/pdbgen/pdb/gradient.pdb index 7aa60fca5e..b180b4f0f5 100644 --- a/tools/pdbgen/pdb/gradient.pdb +++ b/tools/pdbgen/pdb/gradient.pdb @@ -1085,7 +1085,7 @@ HELP { name => 'end_segment', type => 'int32', desc => 'The index of the last segment to operate on. If negative, the selection will extend to the end of the string.' }, - { name => 'split_parts', type => '2 <= int32 <= 20', + { name => 'split_parts', type => '2 <= int32 <= 1024', desc => 'The number of uniform divisions to split each segment to' } );