Commit 0cff6005 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 7c483d31
......@@ -38,7 +38,6 @@ KeyframeModelList::KeyframeModelList(std::weak_ptr<AssetParameterModel> model, c
qDebug() << "Construct keyframemodellist. Checking model:" << m_model.expired();
connect(m_parameters.begin()->second.get(), &KeyframeModel::modelChanged, this, &KeyframeModelList::modelChanged);
ObjectId KeyframeModelList::getOwnerId() const
......@@ -68,6 +67,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)});
Supports Markdown
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