Blender Git Commit Log
Git Commits -> Revision 0b412e4
Revision 0b412e4 by Lukas Toenne (master) January 20, 2012, 13:27 (GMT) |
Cleanup of default_value handling in node sockets. The structs stored in the anonymous void *default_value in bNodeSocket are now handled completely inside node_socket.c. All allocation/freeing/duplicating for this has been replaced by the appropriate calls to generic API functions (declared in NOD_socket.h). This will make the default value handling more reliable for future node socket code. Group socket copying and value conversion has also been moved into the generic socket API file. |
Commit Details:
Full Hash: 0b412e41368824f47cdd6643c86e4acaf28728e5
SVN Revision: 43559
Parent Commit: 5c6413f
Lines Changed: +295, -337
5 Modified Paths:
/source/blender/blenkernel/intern/node.c (+17, -22) (Diff)
/source/blender/editors/space_node/node_templates.c (+5, -6) (Diff)
/source/blender/nodes/intern/node_common.c (+13, -182) (Diff)
/source/blender/nodes/intern/node_socket.c (+247, -107) (Diff)
/source/blender/nodes/NOD_socket.h (+13, -20) (Diff)
/source/blender/editors/space_node/node_templates.c (+5, -6) (Diff)
/source/blender/nodes/intern/node_common.c (+13, -182) (Diff)
/source/blender/nodes/intern/node_socket.c (+247, -107) (Diff)
/source/blender/nodes/NOD_socket.h (+13, -20) (Diff)