[Gimp-user] script-fu-save-anim-layers
Alec Burgess
buralex at gmail.com
Sun Oct 19 15:06:57 PDT 2008
Alec Burgess wrote:
> Since we've had all these messages about this ... I thought I'd ask:
>
> Shouldn't the so-called fix I made, adding a dummy variable with a
> value but leaving the remaining two variables (image) and (buffer)
> uninitialized still have been a syntax error? I was surprised that it
> in fact actually made the script work.
>
> Kevin Cozens wrote:
>> Alec Burgess wrote:
>>
>>> Thanks ... I think :-) found the example and perused the linked PDF
>>> (section 4.2.2. Binding constructs) with out much if any understanding.
>>>
>>> I changed:
>>> (define (save-layer orig-image layer name)
>>> (let* (
>>> (image)
>>> (buffer)
>>> )
>>>
>>> to:
>>> (define (save-layer orig-image layer name)
>>> (let* (
>>> (this-is-correct 0)
>>> (image)
>>> (buffer)
>>> )
>>>
>>
>> You didn't need to read the linked PDF file. That is there for reference in
>> case someone doubted whether the Scheme interpreter in Script-Fu is doing "the
>> right thing" regarding the let* blocks.
>>
>> The release notes should have made it perfectly clear as to the problem and
>> its fix. Since it appears the note about Script-Fu isn't clear enough I will
>> think about some changes to the information. In the meantime, Sven has pointed
>> out the needed changes to the script that were referred to in the release notes.
>>
--
Regards ... Alec (buralex at gmail & WinLiveMess - alec.m.burgess at skype)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-user/attachments/20081019/7c98d2d0/attachment.html
More information about the Gimp-user
mailing list