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.
This commit is contained in:
Jacques Lucke
2020-11-27 19:38:14 +01:00
parent ae0aa4b94c
commit fc4a853846
6 changed files with 109 additions and 1 deletions

View File

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