From fc4a853846123ed320914df7f78340ec95efc97e Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 27 Nov 2020 19:38:14 +0100 Subject: Geometry Nodes: support muted nodes The handling of muted nodes is handled at the derived node tree level now. This is also where expanding node groups is handled. Muted nodes are relinked and removed from the derived tree during construction. The geometry node evaluation code does not have to know about muted nodes this way. --- 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 05b452e61a5..1ed83e08ab1 100644 --- a/source/blender/nodes/function/node_function_util.cc +++ b/source/blender/nodes/function/node_function_util.cc @@ -27,4 +27,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; } -- cgit v1.2.3