Fix editing animatedrect parameter not updating monitor scene

parent d7b43239
......@@ -771,11 +771,13 @@ void AnimationWidget::slotAdjustRectKeyframeValue()
// This is a keyframe
m_animProperties.anim_set(m_rectParameter.toUtf8().constData(), rect, pos, m_outPoint, (mlt_keyframe_type) m_selectType->currentAction()->data().toInt());
emit parameterChanged();
setupMonitor(QRect(rect.x, rect.y, rect.w, rect.h));
} else if (m_animController.key_count() <= 1) {
pos = m_animController.key_get_frame(0);
if (pos >= 0) {
m_animProperties.anim_set(m_rectParameter.toUtf8().constData(), rect, pos, m_outPoint, (mlt_keyframe_type) m_selectType->currentAction()->data().toInt());
emit parameterChanged();
setupMonitor(QRect(rect.x, rect.y, rect.w, rect.h));
}
}
}
......
Markdown is supported
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