[Gimp-user] what's with the auto-insert of run-mode as the first arg for script-fu methods?



There's half an explanation in this e-mail chain: 
http://www.gimpusers.com/forums/gimp-developer/10891-run-mode-enums

But essentially, if you start your procedure name with script-fu- then the run mode is implicit and you 
shouldn't include it in any definitions.

The fact that it turns up in the procedure browser is confusing, but knowing when to ignore it is just one of 
those things to learn.


-- 
paynekj (via gimpusers.com)



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