Blender Git Loki
Git Commits -> Revision 5c760e4
Revision 5c760e4 by Ton Roosendaal (master) March 26, 2007, 15:07 (GMT) |
Changed node type definitions to use a dynamic list. This will allow python or plugin defined nodes to work as well. (And fixes compile issues with MSVC in yesterdays commit for nodes) Code provided by Nathan L. Fixes in his code: - free_nodesystem() was called too late (after guarded alloc was closed) - free_nodesystem() was freeing nodes that were not malloced even - free_nodesystem was using free, not freeN :) - the typedefs needed to be malloced yes, to allow duplicate nodes like group but also for dynamic nodes. |
Commit Details:
Full Hash: 5c760e481114da07ef2ee364bc305bb7716abe8c
SVN Revision: 10378
Parent Commit: d1315a3
Lines Changed: +257, -129
64 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+7, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+138, -12) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -4) (Diff)
/source/blender/nodes/CMP_node.h (+2, -61) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_blur.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_chromaMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_composite.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_curves.c (+3, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_defocus.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_diffMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_dilate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_displace.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_filter.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_flip.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_hueSatVal.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_image.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_lummaMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mapValue.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_math.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mixrgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_normal.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_rotate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_scale.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombHSVA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombRGBA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombYCCA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombYUVA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_setalpha.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_splitViewer.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_texture.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_translate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_valToRgb.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_value.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_vecBlur.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_viewer.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_zcombine.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_camera.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_curves.c (+2, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_geom.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mapping.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_material.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_math.c (+2, -1) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mixRgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_normal.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_output.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_rgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_squeeze.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_texture.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_valToRgb.c (+2, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_value.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c (+1, -0) (Diff)
/source/blender/nodes/SHD_node.h (+0, -24) (Diff)
/source/blender/src/drawnode.c (+9, -9) (Diff)
/source/blender/src/header_node.c (+11, -6) (Diff)
/source/blender/src/toolbox.c (+12, -8) (Diff)
/source/blender/src/usiblender.c (+5, -2) (Diff)
/source/creator/creator.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+138, -12) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -4) (Diff)
/source/blender/nodes/CMP_node.h (+2, -61) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_blur.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_chromaMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_composite.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_curves.c (+3, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_defocus.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_diffMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_dilate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_displace.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_filter.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_flip.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_hueSatVal.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_image.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_lummaMatte.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mapValue.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_math.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_mixrgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_normal.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_rotate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_scale.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombHSVA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombRGBA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombYCCA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_sepcombYUVA.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_setalpha.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_splitViewer.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_texture.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_translate.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_valToRgb.c (+2, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_value.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_vecBlur.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_viewer.c (+1, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_zcombine.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_camera.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_curves.c (+2, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_geom.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mapping.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_material.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_math.c (+2, -1) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_mixRgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_normal.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_output.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_rgb.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_squeeze.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_texture.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_valToRgb.c (+2, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_value.c (+1, -0) (Diff)
/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c (+1, -0) (Diff)
/source/blender/nodes/SHD_node.h (+0, -24) (Diff)
/source/blender/src/drawnode.c (+9, -9) (Diff)
/source/blender/src/header_node.c (+11, -6) (Diff)
/source/blender/src/toolbox.c (+12, -8) (Diff)
/source/blender/src/usiblender.c (+5, -2) (Diff)
/source/creator/creator.c (+3, -0) (Diff)