Fix master effectstack last keyframe goes beyond last frame

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