nodes: allow inserting inputs at arbitrary indexes

This commit is contained in:
itsmattkc
2021-04-13 13:06:52 +10:00
parent e141b486ae
commit 2ff04f2045
3 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ Footage::Footage(const QString &filename) :
ViewerOutput(false),
cancelled_(nullptr)
{
AddInput(kFilenameInput, NodeValue::kFile, InputFlags(kInputFlagNotConnectable | kInputFlagNotKeyframable));
PrependInput(kFilenameInput, NodeValue::kFile, InputFlags(kInputFlagNotConnectable | kInputFlagNotKeyframable));
Clear();