[Bf-committers] bpy callback patch (replace scriptlink like functionality from 2.4x)

Matt Ebb matt at mke3.net
Sat Jun 25 07:51:13 CEST 2011


On Sat, Jun 25, 2011 at 1:04 PM, Campbell Barton <ideasman42 at gmail.com>wrote:

> Hey Matt,
> Having notifiers in python could work but I think the purpose is quite
> different and more on a WM level to avoid showing old data.
>
> There is a use case for a notifier is so python defined space (when we
> get them), can check if some data was modified and redraw.
>
> But scriptlinks are used differently, eg:
> * Before/After each frame is rendered call a function every  time, in
> background mode and wait for the call to finish.
> In contrast with notifiers:
> * If a render is done let me know about it if you're not too busy (ei,
> the queue doesn't flood), and I'll deal with it when I'm ready
> (sometime later when the notifiers are handled).
>

Makes sense. Thanks!


More information about the Bf-committers mailing list