Skip to content

Commit

Permalink
Update view.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Dec 15, 2021
1 parent cec3799 commit 05f5021
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,13 @@ view.View = class {
}
}

for (const input of graph.inputs) {
const viewInput = viewGraph.createInput(input);
for (const argument of input.arguments) {
viewGraph.createArgument(argument).from(viewInput);
}
}

for (const node of nodes) {

const viewNode = viewGraph.createNode(node);
Expand Down Expand Up @@ -643,13 +650,6 @@ view.View = class {
}
}

for (const input of graph.inputs) {
const viewInput = viewGraph.createInput(input);
for (const argument of input.arguments) {
viewGraph.createArgument(argument).from(viewInput);
}
}

for (const output of graph.outputs) {
const viewOutput = viewGraph.createOutput(output);
for (const argument of output.arguments) {
Expand Down

0 comments on commit 05f5021

Please sign in to comment.