removed last of the NodeOutput dependencies

Since all Nodes have an output that provides all output values now, we now
never need to add an output from a Node derivative. These changes remove the
last of them and disable the ability to add more outputs from a derivative.
This commit is contained in:
itsmattkc
2019-12-06 04:21:55 +11:00
parent 694f424627
commit c32a1c8be2
18 changed files with 83 additions and 240 deletions
+2 -2
View File
@@ -132,12 +132,12 @@ void TrackList::AddTrack()
if (track_cache_.isEmpty()) {
// Connect this track directly to this output
NodeParam::ConnectEdge(track->track_output(), track_input_);
NodeParam::ConnectEdge(track->output(), track_input_);
} else {
TrackOutput* current_last_track = track_cache_.last();
// Connect this track to the current last track
NodeParam::ConnectEdge(track->track_output(), current_last_track->track_input());
NodeParam::ConnectEdge(track->output(), current_last_track->track_input());
// FIXME: Test code only
if (current_last_track->output()->IsConnected()) {