According to the procedure browser, the third parameter to pass to the
plug-in-unsharp-mask should be the drawable id, but you are passing the image
id. It's only working in your first stage because, by luck, the image id and
the drawable id have the same value.
You need to get a drawable id - usually by calling gimp-image-get-active-layer
paynekj (via gimpusers.com)
gimp-user-list mailing list