]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.cpp
Fix "simplekeyframe" with several parameters
[kdenlive] / src / clipitem.cpp
index cab99a870a785f843ba26d46864472f3b87a0cb6..2fc109c8c7a53dfac5f977c4095b7b7f733e1d84 100644 (file)
@@ -1426,7 +1426,7 @@ EffectsParameterList ClipItem::getEffectArgs(const QDomElement effect)
         QDomElement e = params.item(i).toElement();
         //kDebug() << "/ / / /SENDING EFFECT PARAM: " << e.attribute("type") << ", NAME_ " << e.attribute("tag");
         if (e.attribute("type") == "simplekeyframe") {
-            kDebug() << "/ / / /SENDING KEYFR EFFECT TYPE";
+            
             QStringList values = e.attribute("keyframes").split(";", QString::SkipEmptyParts);
             double factor = e.attribute("factor", "1").toDouble();
             for (int j = 0; j < values.count(); j++) {
@@ -1434,6 +1434,7 @@ EffectsParameterList ClipItem::getEffectArgs(const QDomElement effect)
                 double val = values.at(j).section(":", 1, 1).toDouble() / factor;
                 values[j] = pos + "=" + QString::number(val);
             }
+            //kDebug() << "/ / / /SENDING KEYFR:"<<values;
             parameters.addParam(e.attribute("name"), values.join(";"));
             /*parameters.addParam(e.attribute("name"), e.attribute("keyframes").replace(":", "="));
             parameters.addParam("max", e.attribute("max"));