DescriptionNew implementation of the node Add menu. Also adds buttons in the node toolbar with the same functionality.
node_add operator buttons in both (sub)menus and panels are generated from a simple list of NodeItems. In addition to the basic node type these also allow optional extra settings to be applied on new instances.
Node Items can be generated from callback functions as well. Currently only used for group nodes, but could be used in other cases, such as Image nodes.
Patch Set 1 #Patch Set 2 : Nicer file organization, now has item list in startup/nodeitems_builtins.py and a utils module #
MessagesTotal messages: 2
|