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

Fix last commit always resetting lut file to first installed one on project load

parent 59bdb1b1
......@@ -186,7 +186,7 @@ AssetParameterModel::AssetParameterModel(std::unique_ptr<Mlt::Properties> asset,
qDebug() << "No fixing needed for" << name << "=" << value;
}
}
if (currentRow.type == ParamType::UrlList) {
if (currentRow.type == ParamType::UrlList && !m_asset->property_exists(name.toUtf8().constData())) {
QString values = currentParameter.attribute(QStringLiteral("paramlist"));
if (values == QLatin1String("%lutPaths")) {
QString filter = currentParameter.attribute(QStringLiteral("filter"));;
......
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