From 040f065483a7fe258dc66ee932fb9007374e93c4 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 13 Apr 2021 15:42:32 +1000 Subject: [PATCH] footage: set viewer preferences before setting filename --- app/node/project/footage/footage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/node/project/footage/footage.cpp b/app/node/project/footage/footage.cpp index 592d288ed..c6a2699de 100644 --- a/app/node/project/footage/footage.cpp +++ b/app/node/project/footage/footage.cpp @@ -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()