From 2e681558511dbfdec4d2b69482b6c5d86fc01085 Mon Sep 17 00:00:00 2001 From: Thomas Wilshaw Date: Tue, 4 May 2021 16:00:18 +0100 Subject: [PATCH] Make sure footage is validated --- app/core.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/core.cpp b/app/core.cpp index dc41884a8..d76896b7d 100644 --- a/app/core.cpp +++ b/app/core.cpp @@ -1501,6 +1501,14 @@ void Core::CacheActiveSequence(bool in_out_only) bool Core::ValidateFootageInLoadedProject(Project* project, const QString& project_saved_url) { QVector project_footage = project->root()->ListChildrenOfType(); + + // OTIO files import their footage into a folder so check them too + foreach(Folder * folder, project->root()->ListChildrenOfType()) { + QVector footage = folder->ListChildrenOfType(); + if (!footage.isEmpty()) { + project_footage.append(footage); + } + } QVector footage_we_couldnt_validate; foreach (Footage* footage, project_footage) {