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.
This commit is contained in:
Jacques Lucke 2020-12-02 16:31:06 +01:00
parent 074de755e9
commit 8522b1b6fb
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

@ -27,4 +27,5 @@ void geo_node_type_base(bNodeType *ntype, int type, const char *name, short ncla
node_type_base(ntype, type, name, nclass, flag);
ntype->poll = geo_node_poll_default;
ntype->update_internal_links = node_update_internal_links_default;
ntype->insert_link = node_insert_link_default;
}