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

Fix recent change breaking effects with jobs (like motion tracker)

parent 1d97bad1
...@@ -89,9 +89,6 @@ AssetParameterModel::AssetParameterModel(std::unique_ptr<Mlt::Properties> asset, ...@@ -89,9 +89,6 @@ AssetParameterModel::AssetParameterModel(std::unique_ptr<Mlt::Properties> asset,
QVariant defaultValue = parseAttribute(m_ownerId, QStringLiteral("default"), currentParameter); QVariant defaultValue = parseAttribute(m_ownerId, QStringLiteral("default"), currentParameter);
value = defaultValue.type() == QVariant::Double ? locale.toString(defaultValue.toDouble()) : defaultValue.toString(); value = defaultValue.type() == QVariant::Double ? locale.toString(defaultValue.toDouble()) : defaultValue.toString();
} }
if (value.isEmpty()) {
continue;
}
bool isFixed = (type == QLatin1String("fixed")); bool isFixed = (type == QLatin1String("fixed"));
if (isFixed) { if (isFixed) {
m_fixedParams[name] = value; m_fixedParams[name] = value;
......
Markdown is supported
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