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

Fix on monitor scene disabled with geometry param

parent cb9af948
......@@ -86,7 +86,7 @@ void GeometryEditWidget::slotShowComment(bool show)
void GeometryEditWidget::monitorSeek(int pos)
{
// Update monitor scene for geometry params
int start = m_model->data(m_index, AssetParameterModel::ParentInRole).toInt();
int start = m_model->data(m_index, AssetParameterModel::ParentPositionRole).toInt();
int end = start + m_model->data(m_index, AssetParameterModel::ParentDurationRole).toInt();
if (pos >= start && pos < end) {
m_geom->connectMonitor(true);
......
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