Remove leftover debug logs

This commit is contained in:
Keavon Chambers
2023-03-21 00:41:39 -07:00
parent 834cb1a227
commit 089df947ac
9 changed files with 1 additions and 24 deletions

View File

@@ -27,13 +27,10 @@ impl NodeGraphExecutor {
scoped_network.duplicate_outputs(&mut generate_uuid);
scoped_network.remove_dead_nodes();
//debug!("Execute document network:\n{scoped_network:#?}");
// We assume only one output
assert_eq!(scoped_network.outputs.len(), 1, "Graph with multiple outputs not yet handled");
let c = Compiler {};
let proto_network = c.compile_single(scoped_network, true)?;
//debug!("Execute proto network:\n{proto_network}");
assert_ne!(proto_network.nodes.len(), 0, "No protonodes exist?");
if let Err(e) = self.executor.update(proto_network) {
error!("Failed to update executor:\n{}", e);