mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 04:21:51 +00:00
[qfcc] Skip dag dependency lines for leaf nodes
Leaf nodes never generate code so showing lines to them only cluttered the displayed dag (they're still there internally, though).
This commit is contained in:
parent
1e274b385d
commit
1183d44361
1 changed files with 6 additions and 3 deletions
|
@ -119,9 +119,12 @@ print_node (dstring_t *dstr, dag_t *dag, dagnode_t *node)
|
||||||
}
|
}
|
||||||
for (edge_iter = set_first (edges); edge_iter;
|
for (edge_iter = set_first (edges); edge_iter;
|
||||||
edge_iter = set_next (edge_iter)) {
|
edge_iter = set_next (edge_iter)) {
|
||||||
|
auto n = dag->nodes[edge_iter->element];
|
||||||
|
if (n->type != st_none) {
|
||||||
dasprintf (dstr,
|
dasprintf (dstr,
|
||||||
" \"dagnode_%p\" -> \"dagnode_%p\" [style=dashed];\n",
|
" \"dagnode_%p\" -> \"dagnode_%p\" [style=dashed];\n",
|
||||||
node, dag->nodes[edge_iter->element]);
|
node, n);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_delete (edges);
|
set_delete (edges);
|
||||||
if (0) {
|
if (0) {
|
||||||
|
|
Loading…
Reference in a new issue