[Bf-committers] Node API

Dan Eicher dan at trollwerks.org
Thu Dec 29 22:35:51 CET 2011


A while back I had dynamic composite nodes (mostly) working, here's a
couple notes from what I can remember:

The node system is init'd too early (before python scripts are run
IIRC) so custom nodes stored in a .blend aren't found and get the
default 'node not found'.

There was some issue with saving/loading sockets (which I believe the
node refactor solves)

Using bNode(Type?).ext.srna (like panels and operators) to store all
the custom settings and whatnot worked as expected.

node-->draw Just Works for the UI drawing (yay!)

Wouldn't be too hard to have all nodes init'd through python so they
can have py-draw functions (would solve the panel/node draw issue and
clean up node.c a bunch).

All I can think of off hand...

Dan


More information about the Bf-committers mailing list