From: <j-...@us...> - 2009-11-29 22:29:29
|
Revision: 4154 http://kdenlive.svn.sourceforge.net/kdenlive/?rev=4154&view=rev Author: j-b-m Date: 2009-11-29 22:29:20 +0000 (Sun, 29 Nov 2009) Log Message: ----------- fix simplekeyframe issue Modified Paths: -------------- trunk/kdenlive/src/clipitem.cpp Modified: trunk/kdenlive/src/clipitem.cpp =================================================================== --- trunk/kdenlive/src/clipitem.cpp 2009-11-29 20:34:15 UTC (rev 4153) +++ trunk/kdenlive/src/clipitem.cpp 2009-11-29 22:29:20 UTC (rev 4154) @@ -1429,12 +1429,10 @@ kDebug() << "/ / / /SENDING KEYFR EFFECT TYPE"; QStringList values = e.attribute("keyframes").split(";", QString::SkipEmptyParts); double factor = e.attribute("factor", "1").toDouble(); - if (factor != 1) { - for (int j = 0; j < values.count(); j++) { - QString pos = values.at(j).section(":", 0, 0); - double val = values.at(j).section(":", 1, 1).toDouble() / factor; - values[j] = pos + "=" + QString::number(val); - } + for (int j = 0; j < values.count(); j++) { + QString pos = values.at(j).section(":", 0, 0); + double val = values.at(j).section(":", 1, 1).toDouble() / factor; + values[j] = pos + "=" + QString::number(val); } parameters.addParam(e.attribute("name"), values.join(";")); /*parameters.addParam(e.attribute("name"), e.attribute("keyframes").replace(":", "=")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |