On Sat, Jun 25, 2011 at 1:04 PM, Campbell Barton 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 che
On Fri, Jun 24, 2011 at 11:18 PM, Matt Ebb wrote:
> On Fri, Jun 24, 2011 at 11:27 PM, Campbell Barton wrote:
>
>> This is something thats been requested to be brought back from 2.4x
>> for quite a while,
>> however I wasn't that happy with scriptlinks having to be setup per
>> datablock, then scan
On Fri, Jun 24, 2011 at 11:27 PM, Campbell Barton wrote:
> This is something thats been requested to be brought back from 2.4x
> for quite a while,
> however I wasn't that happy with scriptlinks having to be setup per
> datablock, then scanning every datablock on frame change to see if any
> have
@Bartius
The kinds of callbacks to implement is a tricky subject which is why I
didn't add many to begin with.
2.4x had a FrameChange scriptlink which people used to do all sorts of
things - but Ton would like to use the depsgraph instead but this
needs to be looked into further and means no FrameC
Will it be possible to set callbacks e.g. for transforms? i.e. if a
bone/face/vert moves in edit mode?
On Fri, 2011-06-24 at 09:02 -0700, Lorenzo Pierfederici wrote:
> Hi Campbell,
>
> maybe the callbacks could have a name associated with them when registered,
> like:
> bpy.app.callbacks.render_p
Hi Campbell,
maybe the callbacks could have a name associated with them when registered,
like:
bpy.app.callbacks.render_post.append('my_callback', func)
That would make it easier to remove them from a script, and would probably
make things easier in a gui, too.
cheers,
lorenzo
On Fri, Jun 24, 2
Since I'm not familiar with Blender's C source, I can't comment on the way
the patch is written. But as an end-user the proposed method sounds like a
good solution.
The callbacks aren't associated with specific datablocks, but since the
context and the ID data can be accessed in the callback functi
This is something thats been requested to be brought back from 2.4x
for quite a while,
however I wasn't that happy with scriptlinks having to be setup per
datablock, then scanning every datablock on frame change to see if any
have frame change scriptlinks for example - not too efficient and
cumbers