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

Fix fake rect parameter not updating monitor overlay (alhpashape, corners)...

Fix fake rect parameter not updating monitor overlay (alhpashape, corners) when changing value in effect stack
parent 2ee142a6
......@@ -22,7 +22,6 @@ KeyframeModelList::KeyframeModelList(std::weak_ptr<AssetParameterModel> model, c
{
qDebug() << "Construct keyframemodellist. Checking model:" << m_model.expired();
addParameter(index);
connect(m_parameters.begin()->second.get(), &KeyframeModel::modelChanged, this, &KeyframeModelList::modelChanged);
}
ObjectId KeyframeModelList::getOwnerId() const
......@@ -52,6 +51,7 @@ const QString KeyframeModelList::getAssetRow()
void KeyframeModelList::addParameter(const QModelIndex &index)
{
std::shared_ptr<KeyframeModel> parameter(new KeyframeModel(m_model, index, m_undoStack));
connect(parameter.get(), &KeyframeModel::modelChanged, this, &KeyframeModelList::modelChanged);
m_parameters.insert({index, std::move(parameter)});
}
......
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