Commit 710d5b6
authored
Fix Graph Editor crash with multioutput nodes (#2397)
When connecting multiple output nodes to surface shaders, `Graph::addLink` was not specifying the output being connected. As a consequence, the shader would end up using the first output on the upstream node which could cause shader compilation errors and exceptions if the input and output types did not match.
This change ensures that the output is specified on the input pin.1 parent c78cb5b commit 710d5b6
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2652 | 2652 | | |
2653 | 2653 | | |
2654 | 2654 | | |
2655 | | - | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
2656 | 2665 | | |
2657 | 2666 | | |
2658 | 2667 | | |
| |||
0 commit comments