mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Add the child nodes to the node's edges set.
This commit is contained in:
parent
dcc786b16f
commit
668871205a
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ dag_create (const flownode_t *flownode)
|
|||
for (i = 0; i < 3; i++) {
|
||||
n->children[i] = children[i];
|
||||
if (n->children[i]) {
|
||||
set_add (n->edges, n->children[i]->number);
|
||||
set_add (n->children[i]->parents, n->number);
|
||||
n->types[i] = operands[i + 1]->type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue