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

Fix clip move incorrectly rejected

Fixes #869
parent 511b75ff
Pipeline #43942 passed with stage
in 10 minutes and 6 seconds
......@@ -2352,7 +2352,7 @@ bool TimelineModel::requestGroupMove(int itemId, int groupId, int delta_track, i
if (getTrackById_const(current_track_id)->hasStartMix(item.first)) {
subPlaylist = m_allClips[item.first]->getSubPlaylistIndex();
}
if (!getTrackById_const(current_track_id)->isAvailable(target_position, -delta_pos, subPlaylist)) {
if (!getTrackById_const(current_track_id)->isAvailable(target_position, playtime, subPlaylist)) {
if (!getTrackById_const(current_track_id)->isBlankAt(current_in - 1)) {
// No move possible, abort
bool undone = local_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