[Bf-python] scriptlinks

Martin DeMello martindemello at gmail.com
Tue May 31 09:09:46 CEST 2005


On 5/27/05, Willian Padovani Germano <wgermano at ig.com.br> wrote:
> 
> If you go for a new scene scriptlink event, check
> source/blender/src/buttons_script.c to see how to add your event to the
> scene events menu in the script buttons window.  Also add your new event
> define at the end of source/blender/makesdna/DNA_scriptlink_types.h, if
> you haven't done it yet.  Then you need a proper place to put your call
> to BPY_do_pyscript(), but you said you already have a C function called
> when data comes in, so that's probably the best place.

Thanks - that worked wonderfully!

martin



More information about the Bf-python mailing list