From 8635dab75db2f5aef06367c340cc910383cefa05 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 19 Jul 2016 16:28:08 +0200 Subject: [PATCH] Fix editing animatedrect parameter not updating monitor scene --- src/effectstack/widgets/animationwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/effectstack/widgets/animationwidget.cpp b/src/effectstack/widgets/animationwidget.cpp index bf32d8eed..51ce6b75e 100644 --- a/src/effectstack/widgets/animationwidget.cpp +++ b/src/effectstack/widgets/animationwidget.cpp @@ -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)); } } } -- GitLab