diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/shader/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_bump.cc (renamed from source/blender/nodes/shader/nodes/node_shader_bump.c) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/shader/CMakeLists.txt b/source/blender/nodes/shader/CMakeLists.txt index 7d99c233197..311b7f75d00 100644 --- a/source/blender/nodes/shader/CMakeLists.txt +++ b/source/blender/nodes/shader/CMakeLists.txt @@ -58,7 +58,7 @@ set(SRC nodes/node_shader_bsdf_translucent.c nodes/node_shader_bsdf_transparent.c nodes/node_shader_bsdf_velvet.c - nodes/node_shader_bump.c + nodes/node_shader_bump.cc nodes/node_shader_camera.c nodes/node_shader_clamp.cc nodes/node_shader_common.c diff --git a/source/blender/nodes/shader/nodes/node_shader_bump.c b/source/blender/nodes/shader/nodes/node_shader_bump.cc index 7444ea3952a..3d90927116f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bump.c +++ b/source/blender/nodes/shader/nodes/node_shader_bump.cc @@ -55,13 +55,13 @@ static int gpu_shader_bump(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bump(void) +void register_node_type_sh_bump() { static bNodeType ntype; sh_node_type_base(&ntype, SH_NODE_BUMP, "Bump", NODE_CLASS_OP_VECTOR, 0); node_type_socket_templates(&ntype, sh_node_bump_in, sh_node_bump_out); - node_type_storage(&ntype, "", NULL, NULL); + node_type_storage(&ntype, "", nullptr, nullptr); node_type_gpu(&ntype, gpu_shader_bump); nodeRegisterType(&ntype); |