Merge pull request #1330 from ThomasWilshaw/OTIO_load

OTIO load
This commit is contained in:
itsmattkc
2022-01-07 19:35:38 -08:00
committed by GitHub
7 changed files with 208 additions and 5 deletions
+11
View File
@@ -43,6 +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"
@@ -375,6 +378,14 @@ void Core::DialogExportShow()
}
}
#ifdef USE_OTIO
bool Core::DialogImportOTIOShow(const QList<Sequence*>& sequences) {
Project* active_project = GetActiveProject();
OTIOPropertiesDialog opd(sequences, active_project);
return opd.exec() == QDialog::Accepted;
}
#endif
void Core::CreateNewFolder()
{
// Locate the most recently focused Project panel (assume that's the panel the user wants to import into)