svn path=/trunk/kdenlive/; revision=4003
tr->setAutomatic(!tr->isAutomatic());
QDomElement transition = tr->toXML();
m_document->renderer()->mltUpdateTransition(transition.attribute("tag"), transition.attribute("tag"), transition.attribute("transition_btrack").toInt(), m_document->tracksCount() - transition.attribute("transition_atrack").toInt(), tr->startPos(), tr->endPos(), transition);
+ setDocumentModified();
}
QString key;
mlt_properties transproperties = MLT_TRANSITION_PROPERTIES(tr);
mlt_properties_set_int(transproperties, "force_track", xml.attribute("force_track").toInt());
+ mlt_properties_set_int(transproperties, "automatic", xml.attribute("automatic", "0").toInt());
// update the transition id in case it uses the same MLT service but different Kdenlive id
char *tmp = decodedString(xml.attribute("id"));
mlt_properties_set(transproperties, "kdenlive_id", tmp);