After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 506110 - Chip Away filter: parameter range error
Chip Away filter: parameter range error
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Script-Fu
2.4.x
Other All
: Normal trivial
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-28 17:12 UTC by Ulf-D. Ehlert
Modified: 2008-10-30 20:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bugfix (686 bytes, patch)
2007-12-28 17:14 UTC, Ulf-D. Ehlert
committed Details | Review
Bugfix 2 (703 bytes, patch)
2007-12-29 17:52 UTC, Ulf-D. Ehlert
committed Details | Review

Description Ulf-D. Ehlert 2007-12-28 17:12:00 UTC
The valid range of the "Chip amount" option is 0-250. The specified
value (parameter "spread-amount") will be passed to the "Spread"
plug-in. That filter limits the spread amount to 0-200. So for "Chip
amount" values > 200, the spread plug-in will return
GIMP_PDB_CALLING_ERROR, and the "Chip Away" filter fails.
[
Comment 1 Ulf-D. Ehlert 2007-12-28 17:14:39 UTC
Created attachment 101745 [details] [review]
Bugfix
Comment 2 Sven Neumann 2007-12-28 18:04:34 UTC
Applied in both branches. Thanks for the patch.

2007-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied patch from
	Ulf-D. Ehlert that fixes the range of the "Chip amount" parameter
	(bug #506110).
Comment 3 Ulf-D. Ehlert 2007-12-29 17:52:25 UTC
Created attachment 101798 [details] [review]
Bugfix 2

Sorry, I was an idiot.

I just cared of the Chip Away *filter*, but of course I should
have fixed the "Xtns/Logos/Chip Away" parameter as well.
Comment 4 Sven Neumann 2007-12-30 13:45:10 UTC
Applied in both branches. Thanks for the patch.

2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied another patch
	from Ulf-D. Ehlert for the parameter range (bug #506110).