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

Fix master effectstack last keyframe goes beyond last frame

parent eeff3a82
......@@ -516,7 +516,7 @@ int Core::getItemDuration(const ObjectId &id)
case ObjectType::TimelineTrack:
case ObjectType::Master:
return m_mainWindow->getCurrentTimeline()->controller()->duration();
return m_mainWindow->getCurrentTimeline()->controller()->duration() - 1;
qDebug() << "ERROR: unhandled object type";
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