Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions editor/src/node_graph_executor/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ impl NodeRuntime {
}

async fn update_network(&mut self, mut graph: NodeNetwork) -> Result<ResolvedDocumentNodeTypesDelta, String> {
if cfg!(not(test)) {
preprocessor::expand_network(&mut graph, &self.substitutions);
}
preprocessor::expand_network(&mut graph, &self.substitutions);

let scoped_network = wrap_network_in_scope(graph, self.editor_api.clone());

Expand Down
2 changes: 1 addition & 1 deletion node-graph/preprocessor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn generate_node_substitutions() -> HashMap<String, DocumentNode> {
(
NodeId(i as u64),
match inputs.len() {
1 => {
1 if false => {
let input = inputs.iter().next().unwrap();
let input_ty = input.nested_type();

Expand Down
Loading