GNOME Bugzilla – Bug 517285
Glossy filter: fails with pattern; useless option
Last modified: 2008-03-01 14:34:07 UTC
1) The Glossy filter fails when a pattern is used instead of gradient blend: "unbound variable: old-patterns": The variable "old-patterns" is used to (re)set the active pattern, but is never defined or initialized. It looks like someone forgot to remove some code lines when he/she added "gimp-context-push" and "gimp-context-pop". 2) There is an option "Default bumpmap setting", but it doesn't have any effect. The corresponding parameter "noninteractive" is never used. Obviously another memory leak...
Created attachment 105529 [details] [review] Bugfix
Removing the parameter breaks compatibility. Please submit a patch that only fixes the first problem.
Created attachment 105574 [details] [review] Corrected bugfix Sorry, you are right!
I have applied this to both branches: 2008-02-19 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/scripts/glossy.scm: applied patch from Ulf-D. Ehlert that fixes a bug in the Glossy script when used with a pattern instead of a gradient blend (bug #517285). I also changed the script to actually use the "Default Bumpmap Settings" parameter. This change only went into trunk: 2008-02-19 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/scripts/glossy.scm: actually use the "Default Bumpmap Settings" parameter. Problem spotted by Ulf-D. Ehlert.
*** Bug 519672 has been marked as a duplicate of this bug. ***