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/texture/nodes/node_texture_at.c | |
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/texture/nodes/node_texture_at.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_at.c b/source/blender/nodes/texture/nodes/node_texture_at.c index 74f279d65c7..e2e635b7d92 100644 --- a/source/blender/nodes/texture/nodes/node_texture_at.c +++ b/source/blender/nodes/texture/nodes/node_texture_at.c @@ -45,7 +45,7 @@ void register_node_type_tex_at(void) tex_node_type_base(&ntype, TEX_NODE_AT, "At", NODE_CLASS_DISTORT); node_type_socket_templates(&ntype, inputs, outputs); node_type_size(&ntype, 140, 100, 320); - node_type_exec(&ntype, NULL, NULL, exec); + ntype.exec_fn = exec; nodeRegisterType(&ntype); } |