diff options
author | Hans Goudey <h.goudey@me.com> | 2022-11-05 18:10:27 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-11-05 18:10:27 +0300 |
commit | 4ec5a8cbc23311776ad3f5745c52331b4937ddb0 (patch) | |
tree | c93707de52ba7b08665f7db07a7e04e4946f5acd /source/blender/nodes/shader/nodes/node_shader_point_info.cc | |
parent | e673f3ba2442b6367d5b1c9fdbacf816107d5348 (diff) |
Cleanup: Remove unnecessary node type registraction functions
These functions provided little benefit compared to simply setting
the function pointers directly.
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_point_info.cc')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_point_info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_point_info.cc b/source/blender/nodes/shader/nodes/node_shader_point_info.cc index 05b649490e4..fffa3abad03 100644 --- a/source/blender/nodes/shader/nodes/node_shader_point_info.cc +++ b/source/blender/nodes/shader/nodes/node_shader_point_info.cc @@ -32,7 +32,7 @@ void register_node_type_sh_point_info() sh_node_type_base(&ntype, SH_NODE_POINT_INFO, "Point Info", NODE_CLASS_INPUT); ntype.declare = file_ns::node_declare; - node_type_gpu(&ntype, file_ns::node_shader_gpu_point_info); + ntype.gpu_fn = file_ns::node_shader_gpu_point_info; nodeRegisterType(&ntype); } |