Blender Git Commit Log

Git Commits -> Revision 9df9d40

Revision 9df9d40 by Aaron Carlisle (lineart-shadow)
December 8, 2021, 06:53 (GMT)
Shader Nodes: Split each node into own file

This improves both code finding, for example "color ramp" now has its own file.
And now each node has its own namespace so function names can be simplified
similar to rBfab39440e94

This commit also makes all file names use snake case instead of camel case.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D13482

Commit Details:

Full Hash: 9df9d40ae46a645fafc6ce00d97c591e5132ce56
Parent Commit: f65cac0
Committed By: YimingWu
Lines Changed: +1277, -1165

12 Added Paths:

/source/blender/nodes/shader/nodes/node_shader_color_ramp.cc (+189, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_hsv.cc (+77, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_rgb.cc (+86, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_xyz.cc (+67, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_mix_rgb.cc (+200, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_rgb_to_bw.cc (+74, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_hsv.cc (+75, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_rgb.cc (+119, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_xyz.cc (+103, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc (+67, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc (+45, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_vector_transform.cc (+161, -0) (View)

8 Deleted Paths:

/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc (+0, -200)
/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc (+0, -128)
/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc (+0, -177)
/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc (+0, -142)
/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc (+0, -67)
/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc (+0, -45)
/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc (+0, -235)
/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc (+0, -161)

3 Modified Paths:

/source/blender/blenkernel/intern/node.cc (+1, -1) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -1) (Diff)
/source/blender/nodes/shader/CMakeLists.txt (+12, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021