diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-02 18:31:06 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-02 18:34:06 +0300 |
commit | 8522b1b6fbfd2590dab4ed4de3153d45a81f0371 (patch) | |
tree | eb8e5773e625764be8edd5cbf44e89f8d3663152 /source/blender/nodes/function/node_function_util.cc | |
parent | 074de755e987c90d1a4f1dc1fb5a8e74a024a534 (diff) |
Geometry Nodes: automatically reconnect when swapping inputs
This makes it easier to swap the inputs to the Join Geometry node.
The behavior is the same as in the Math node.
Diffstat (limited to 'source/blender/nodes/function/node_function_util.cc')
-rw-r--r-- | source/blender/nodes/function/node_function_util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/function/node_function_util.cc b/source/blender/nodes/function/node_function_util.cc index 1ed83e08ab1..827572d1069 100644 --- a/source/blender/nodes/function/node_function_util.cc +++ b/source/blender/nodes/function/node_function_util.cc @@ -28,4 +28,5 @@ void fn_node_type_base(bNodeType *ntype, int type, const char *name, short nclas node_type_base(ntype, type, name, nclass, flag); ntype->poll = fn_node_poll_default; ntype->update_internal_links = node_update_internal_links_default; + ntype->insert_link = node_insert_link_default; } |