GNOME Bugzilla – Bug 325007
threshold parameter has incorrect type in unsharp plugin PDB
Last modified: 2005-12-27 18:24:06 UTC
The "threshold" parameter of the unsharp mask plugin is specified to the PDB as GIMP_PDB_FLOAT (plug-ins/common/unsharp.c in query()). Everywhere else in the code it is used as an int, range 0 - 255. Replace: { GIMP_PDB_FLOAT, "threshold", "Threshold" } with: { GIMP_PDB_INT32, "threshold", "Threshold" }
Thanks for the report. Fixed in both branches: 2005-12-27 Sven Neumann <sven@gimp.org> * plug-ins/common/unsharp.c (query): fixed type of threshold parameter (bug #325007).