bumped project version

This commit is contained in:
itsmattkc
2021-01-22 17:06:36 +11:00
parent fecd0e3775
commit 88d1b86d11
3 changed files with 2 additions and 17 deletions
+1 -1
View File
@@ -71,7 +71,7 @@
namespace olive {
Core* Core::instance_ = nullptr;
const uint Core::kProjectVersion = 201122;
const uint Core::kProjectVersion = 210122;
Core::Core(const CoreParams& params) :
main_window_(nullptr),
-15
View File
@@ -132,21 +132,6 @@ void Sequence::Load(QXmlStreamReader *reader, XMLNodeData& xml_node_data, uint v
XMLAttributeLoop(reader, attr) {
if (attr.name() == QStringLiteral("id")) {
QString id = attr.value().toString();
if (version <= 201003) {
// After version 201003, the video and audio nodes were merged into one media node
if (id == QStringLiteral("org.olivevideoeditor.Olive.audioinput")
|| id == QStringLiteral("org.olivevideoeditor.Olive.videoinput")) {
id = QStringLiteral("org.olivevideoeditor.Olive.mediainput");
}
}
if (version <= 201118) {
// After version 201118, the orthographic matrix node ID was changed from
// "org.olivevideoeditor.Olive.transform" to "org.olivevideoeditor.Olive.ortho"
if (id == QStringLiteral("org.olivevideoeditor.Olive.transform")) {
id = QStringLiteral("org.olivevideoeditor.Olive.ortho");
}
}
node = NodeFactory::CreateFromID(id);
break;
+1 -1
View File
@@ -52,7 +52,7 @@ bool ProjectLoadTask::Run()
// Project is newer than we support
SetError(tr("This project is newer than this version of Olive and cannot be opened."));
return false;
} else if (project_version < 201003) { // Change this if we drop support for a project version
} else if (project_version < 210122) { // Change this if we drop support for a project version
// Project is older than we support
SetError(tr("This project is from a version of Olive that is no longer supported in this version."));
return false;