mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Fold the record-stack peak in the layout pass, not the executor
This commit is contained in:
@@ -1163,6 +1163,7 @@ impl NodeNetwork {
|
||||
inputs: Vec::new(),
|
||||
output: node_id,
|
||||
nodes,
|
||||
..Default::default()
|
||||
}]
|
||||
.into_iter();
|
||||
}
|
||||
@@ -1179,6 +1180,7 @@ impl NodeNetwork {
|
||||
// inputs: self.imports.clone(),
|
||||
output: node_id,
|
||||
nodes: nodes.clone(),
|
||||
..Default::default()
|
||||
})
|
||||
} else {
|
||||
None
|
||||
@@ -1443,6 +1445,7 @@ mod test {
|
||||
]
|
||||
.into_iter()
|
||||
.collect(),
|
||||
..Default::default()
|
||||
};
|
||||
let network = flat_network();
|
||||
let mut resolved_network = network.into_proto_networks().collect::<Vec<_>>();
|
||||
|
||||
Reference in New Issue
Block a user