diff options
author | Hans Goudey <h.goudey@me.com> | 2021-08-23 22:41:44 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-23 22:41:44 +0300 |
commit | 24d1c352e8e59139efa8a1cdefed13952f8c99ee (patch) | |
tree | 021375ff7f4ba77f721065f711d9edbce67c2dbe /source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc | |
parent | b3639670ee001cc77480cdc8db54ce517d992e3b (diff) |
Make branch compile after recent multifunction network removaltemp-geometry-nodes-fields-prototype
Diffstat (limited to 'source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc')
-rw-r--r-- | source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc b/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc index fae61d67a48..7f72988344b 100644 --- a/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc @@ -162,10 +162,10 @@ static const blender::fn::MultiFunction &get_multi_function(bNode &node) return fixed_pivot; } -static void fn_node_align_rotation_to_vector_expand_in_mf_network( - blender::nodes::NodeMFNetworkBuilder &builder) +static void fn_node_align_rotation_to_vector_build_multi_function( + blender::nodes::NodeMultiFunctionBuilder &builder) { - const blender::fn::MultiFunction &fn = get_multi_function(builder.bnode()); + const blender::fn::MultiFunction &fn = get_multi_function(builder.node()); builder.set_matching_fn(fn); } @@ -185,7 +185,7 @@ void register_node_type_fn_align_rotation_to_vector() "FunctionNodeAlignRotationToVector", node_free_standard_storage, node_copy_standard_storage); - ntype.expand_in_mf_network = fn_node_align_rotation_to_vector_expand_in_mf_network; + ntype.build_multi_function = fn_node_align_rotation_to_vector_build_multi_function; ntype.draw_buttons = fn_node_align_rotation_to_vector_layout; nodeRegisterType(&ntype); } |