Blender Git Commit Log
Git Commits -> Revision 2070356
Revision 2070356 by Lukas Toenne (master) February 7, 2011, 09:33 (GMT) |
A simplified way of defining bNodeType structs. Instead of doing full struct member initialization for each node, this uses a couple of helper functions now. This will make it easier to change and extend the bNodeSocket interface in the future. Two examples (normal and mapping shader nodes) included, the rest should be converted too. |
Commit Details:
Full Hash: 2070356a329969be2287e6f8f7575a7e45d13543
SVN Revision: 34682
Parent Commit: d272b70
Lines Changed: +86, -40
6 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+12, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+48, -2) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mapping.c (+12, -18) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_normal.c (+11, -18) (Diff)
/source/blender/nodes/intern/SHD_util.h (+1, -0) (Diff)
/source/blender/nodes/SHD_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+48, -2) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mapping.c (+12, -18) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_normal.c (+11, -18) (Diff)
/source/blender/nodes/intern/SHD_util.h (+1, -0) (Diff)
/source/blender/nodes/SHD_node.h (+2, -2) (Diff)