- m_clipref->initEffect(dom);
- m_effectedit->transferParamDesc(dom, 0, m_clipref->cropStart().frames(KdenliveSettings::project_fps()), (m_clipref->cropStart() + m_clipref->cropDuration()).frames(KdenliveSettings::project_fps()));//minx max frame
- m_ui.region_url->setUrl(KUrl(dom.attribute("region")));
- emit updateClipEffect(m_clipref, old, dom, activeRow);
+ if (m_trackMode) {
+ EffectsList::setParameter(dom, "in", QString::number(0));
+ EffectsList::setParameter(dom, "out", QString::number(0));
+ m_effectedit->transferParamDesc(dom, 0, 0, 0);//minx max frame
+ emit updateEffect(NULL, m_trackindex, old, dom, activeRow);
+ } else {
+ m_clipref->initEffect(dom);
+ m_effectedit->transferParamDesc(dom, 0, m_clipref->cropStart().frames(KdenliveSettings::project_fps()), (m_clipref->cropStart() + m_clipref->cropDuration()).frames(KdenliveSettings::project_fps()));//minx max frame
+ //m_ui.region_url->setUrl(KUrl(dom.attribute("region")));
+ emit updateEffect(m_clipref, -1, old, dom, activeRow);
+ }