From 8522b1b6fbfd2590dab4ed4de3153d45a81f0371 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 2 Dec 2020 16:31:06 +0100 Subject: 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. --- source/blender/nodes/function/node_function_util.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/nodes/function') 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; } -- cgit v1.2.3