initialize array variable and set where used

This commit is contained in:
itsmattkc
2021-01-19 09:09:12 +11:00
parent fa1fbd3a34
commit 3e1fb01758
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ ViewerOutput::ViewerOutput() :
for (int i=0;i<Track::kCount;i++) {
// Create track input
NodeInput* track_input = new NodeInput(this, QStringLiteral("track_in_%1").arg(i), NodeValue::kNone);
track_input->SetIsArray(true);
IgnoreInvalidationsFrom(track_input);
track_inputs_.replace(i, track_input);