footage: set viewer preferences before setting filename

This commit is contained in:
itsmattkc
2021-04-13 15:42:32 +10:00
parent 76eb117a45
commit 040f065483
+3 -3
View File
@@ -43,14 +43,14 @@ Footage::Footage(const QString &filename) :
ViewerOutput(false),
cancelled_(nullptr)
{
SetCacheTextures(true);
SetViewerCacheEnabled(false);
PrependInput(kFilenameInput, NodeValue::kFile, InputFlags(kInputFlagNotConnectable | kInputFlagNotKeyframable));
Clear();
set_filename(filename);
SetCacheTextures(true);
SetViewerCacheEnabled(false);
}
void Footage::Retranslate()