From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

TODO

  • Feature for generating node sockets from template lists. Can work completely in Python. (Note: still needs proper documentation)
  • poll functions for RenderLayer (other restricted types?)
  • Define a default socket type for node tree interfaces. Currently uses NodeSocketFloat, but may not be available in custom tree types! (NODE_OT_tree_socket_add operator)
  • Copy method for template parameters (also NODE_OT_tree_socket_add operator). Socket and template value copies should be possible with generic ID properties or RNA, no need to have specialized callbacks then.
  • Make a context lookup function to determine the active node tree when pinning is disabled.
  • poll callback for node trees, to replace the limited icon-based method of determining visibility in the node editor. Particularly useful for shader node trees which should only be visible for the selected render engine.
  • Add a type check to the C wrapper for python-defined get_from_context. This might otherwise produce corrupted data if user functions return a non-node-tree pointer. Never assume users know what they're doing ;)