Error: set!: unbound variable: cmask-layer
¿Algún "Redy" que sepa apañarlo?
¿Dónde?.... Eso te pasa por usar un gimp con el segundo número impar
. Creo que han cambiado bastante el intérprete de script-fu, y uno de los cambios es que ahora es más restrictivo con el ámbito de las variables, y que las variables deben ser definidas antes de asignarle un valor. Así que creo que antes de un (set! variable ()) debe haber siempre un (let* (variable)), pero no me hagas demasiado caso porque el scheme y el script-fu para mi son como el latin, no entiendo ni papa.
That just leaves the problem of variables used in a set! statement which are not defined before first use. Tiny-Fu displays an error message stating "unbound variable" along with the name of the variable when this situation is encountered. The solution is to add a line to the let block with the name of the variable in parenthesis (no initial value is required). A few of the standard Script-Fu scripts had a define that used set! but no let statement so a let had to be added first.