zlsa / gimp-normalmap

Automatically exported from code.google.com/p/gimp-normalmap
Other
2 stars 1 forks source link

alphamap parameter is forced to be valid even if ignored #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Call the plugin from the script-fu console with e.g.:
(plug-in-normalmap RUN-NONINTERACTIVE <image-id> (car 
(gimp-image-get-active-layer <image-id>)) 0 0 1.0 0 0 0 0 0 0 0 0.0 0)
Note the last parameter (the alpha map drawable) is 0.

What is the expected output? What do you see instead?
Expected: the plugin does its work.
Actual: it throws an error: "Calling error for procedure 'gimp-drawable-width': 
Procedure 'gimp-drawable-width' has been called with an invalid ID for argument 
'drawable'. Most likely a plug-in is trying to work on a layer that doesn't 
exist any longer."

What version of the product are you using? On what operating system?
1.2.2 on MSW 7

Original issue reported on code.google.com by usr...@gmail.com on 25 Apr 2012 at 9:26

GoogleCodeExporter commented 9 years ago
Fixed in revision 52.

Original comment by ski...@gmail.com on 27 Jun 2012 at 6:28