[Bf-committers] Re: listener object

Martin DeMello martindemello at gmail.com
Fri May 6 13:21:15 CEST 2005


On 5/6/05, Martin DeMello <martindemello at gmail.com> wrote:
> I'd like to add a "listener" object to blender, to allow a script to
> be triggered by an external program writing to a socket. (Not
> necessarily proposing this be added to blender proper, but it would be
> very useful for my own copy.) Is this an intrinsically dangerous idea?
> (i.e. could it cause instability or crashes in blender?) If not, how
> would I go about doing it? (i.e., where in the code should I be
> looking to add something like this?)

Also, antont suggested on IRC that an 'always' scriptlink that
activated once every timer tick would be another nice way to
accomplish this. The triggered python script could then poll the
socket.

martin


More information about the Bf-committers mailing list