Commit 0e2a23f7 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Add support for rawr glaxnimate anims

Fixes #1462
parent dce76ace
Pipeline #192166 passed with stage
in 9 minutes and 4 seconds
......@@ -73,7 +73,8 @@ QStringList ClipCreationDialog::getExtensions()
<< QStringLiteral("image/jxl");
// Lottie animations
if (KdenliveSettings::producerslist().contains(QLatin1String("glaxnimate"))) {
bool allowLottie = KdenliveSettings::producerslist().contains(QLatin1String("glaxnimate"));
if (allowLottie) {
mimeTypes << QStringLiteral("application/json");
}
......@@ -85,6 +86,9 @@ QStringList ClipCreationDialog::getExtensions()
allExtensions.append(mime.globPatterns());
}
}
if (allowLottie) {
allExtensions.append(QStringLiteral("*.rawr"));
}
// process custom user extensions
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList customs = KdenliveSettings::addedExtensions().split(' ', QString::SkipEmptyParts);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment