Blender Git Loki

Git Commits -> Revision 4f23bd8

Revision 4f23bd8 by Lukas Toenne (master)
April 18, 2013, 11:36 (GMT)
Fix for #35010, Node Groups don't show up anymore in Material Surface. Fixing the node tree view was a bit of a todo item after pynodes.

To make the type-dependent socket linking in this template a bit more manageable, there are now separate functions that generate "items" for a particular node type consisting of the socket index, name and possibly additional properties required (currently only node groups vs. all other types). This is still nowhere near flexible enough to be used as a generic template all node systems, but works for now.

In order to make this usable as a generic tool we will have to devise a way of storing, comparing, applying node settings *outside of actual node instances*. Then each node needs to tell how sockets are generated based on these properties. For the current nodes this would be far too complicated ...

Commit Details:

Full Hash: 4f23bd8904dfd46181a4082f1bea91dbbcaa8d86
SVN Revision: 56133
Parent Commit: 4587ecd
Lines Changed: +140, -36

3 Modified Paths:

/source/blender/blenkernel/intern/node.c (+5, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+134, -34) (Diff)
/source/blender/nodes/shader/nodes/node_shader_common.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021