Commit b748efa0 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix rotoscoping points not reset when adding a second rotoscoping effect to a clip

parent 7b1d44c4
Pipeline #38045 failed with stage
in 62 minutes and 58 seconds
......@@ -70,10 +70,10 @@ void RotoHelper::refreshParams(int pos)
controlPoints << QVariant(i.h1);
controlPoints << QVariant(i.h2);
}
}
if (m_monitor) {
m_monitor->setUpEffectGeometry(QRect(), centerPoints, controlPoints);
}
}
}
QList<BPoint> RotoHelper::getPoints(const QVariant &value, const QSize frame)
......
......@@ -1805,7 +1805,7 @@ void Monitor::setUpEffectGeometry(const QRect &r, const QVariantList &list, cons
if (!root) {
return;
}
if (!list.isEmpty()) {
if (!list.isEmpty() || m_qmlManager->sceneType() == MonitorSceneRoto) {
root->setProperty("centerPointsTypes", types);
root->setProperty("centerPoints", list);
}
......
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