Re: Bug in layers mode ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- In script-fu@xxxxxxxxxxxxxxx, Kevin Cozens <kcozens@xxxx> wrote:
>
> lasm.rm wrote:
> >   In Gimp 2.3.4, this gives error
> > 
> >   (gimp-layer-set-mode layer HARDLIGHT)
> > 
> >    but HARDLIGHT-MODE is ok !
> > 
> >    GAIN-MERGE gives error but GAIN-MERGE-MODE is Ok !
> > 
> >    ADDITON is OK !
> 
> It is not inconsistent. There are a number of constants which have 
been 
> deprecated. Script-Fu allows use of the older constant names to 
maintain 
> backwards compatibility (for now). The proper constant to use is 
ADDITION-MODE.
> 
> Scripts should be updated to use the current named constants. The 
deprecated 
> constants may be removed in some future version of Script-Fu.
> 
   OK. Does it mean the new constants append -MODE to ALL the 
modes ?  I thought the only change was like truncating the
gimp_ prefix, so now it should be

  gimp_normal_mode (C constant) ==> normal-mode  (new style)
                                    normal    (old style,deprecated)

   The new constants will carry over to tiny-fu, correct ?     

Thanks.
lasm










------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/e4wwlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/script-fu/

<*> To unsubscribe from this group, send an email to:
    script-fu-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





[Index of Archives]     [Gimp Developers]     [Gimp Users]     [Yosemite News]     [Epson Inkjet Printers]     [Scanners]     [Gimp's Home]     [Steve's Art]

&hbsp; Powered by Linux