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/composite/nodes/node_composite_output_file.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/composite/nodes/node_composite_output_file.cc')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_output_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_output_file.cc b/source/blender/nodes/composite/nodes/node_composite_output_file.cc index f27dec91b1c..f64e448842d 100644 --- a/source/blender/nodes/composite/nodes/node_composite_output_file.cc +++ b/source/blender/nodes/composite/nodes/node_composite_output_file.cc @@ -470,7 +470,7 @@ void register_node_type_cmp_output_file() ntype.flag |= NODE_PREVIEW; node_type_storage( &ntype, "NodeImageMultiFile", file_ns::free_output_file, file_ns::copy_output_file); - node_type_update(&ntype, file_ns::update_output_file); + ntype.updatefunc = file_ns::update_output_file; ntype.get_compositor_operation = file_ns::get_compositor_operation; nodeRegisterType(&ntype); |