From ee801e7bbb1813b5bf316f29811a0cd7733de1f4 Mon Sep 17 00:00:00 2001 From: Thomas Wilshaw Date: Tue, 9 Nov 2021 14:57:15 +0000 Subject: [PATCH] core: add OTIO guards --- app/core.cpp | 4 ++++ app/core.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/app/core.cpp b/app/core.cpp index 06a47ea01..a665099c9 100644 --- a/app/core.cpp +++ b/app/core.cpp @@ -43,7 +43,9 @@ #include "dialog/autorecovery/autorecoverydialog.h" #include "dialog/export/export.h" #include "dialog/footagerelink/footagerelinkdialog.h" +#ifdef USE_OTIO #include "dialog/otioproperties/otiopropertiesdialog.h" +#endif #include "dialog/sequence/sequence.h" #include "dialog/task/task.h" #include "dialog/preferences/preferences.h" @@ -380,11 +382,13 @@ void Core::DialogExportShow() } } +#ifdef USE_OTIO void Core::DialogImportOTIOShow(QList sequences) { Project* active_project = GetActiveProject(); OTIOPropertiesDialog opd(sequences, active_project); opd.exec(); } +#endif void Core::CreateNewFolder() { diff --git a/app/core.h b/app/core.h index 4222b7bd5..99018f377 100644 --- a/app/core.h +++ b/app/core.h @@ -401,7 +401,9 @@ public slots: /** * @brief Show OTIO import dialog */ +#ifdef USE_OTIO void DialogImportOTIOShow(QList sequences); +#endif /** * @brief Create a new folder in the currently active project