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

Fix copy/paste composition is one frame shorter

parent d6ee2612
Pipeline #3379 passed with stage
in 20 minutes and 24 seconds
......@@ -1358,7 +1358,7 @@ bool TimelineFunctions::pasteClips(const std::shared_ptr<TimelineItemModel> &tim
transProps->set(props.at(j).toElement().attribute(QStringLiteral("name")).toUtf8().constData(),
props.at(j).toElement().text().toUtf8().constData());
}
res = timeline->requestCompositionInsertion(originalId, curTrackId, aTrackId, position + pos, out - in, std::move(transProps), newId, undo, redo);
res = timeline->requestCompositionInsertion(originalId, curTrackId, aTrackId, position + pos, out - in + 1, std::move(transProps), newId, undo, redo);
}
if (!res) {
undo();
......
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