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

Revert "Fix clips with mix cannot be move onto another track."

This reverts commit 2b4fcacc
parent 2b4fcacc
Pipeline #71240 passed with stage
in 8 minutes and 25 seconds
......@@ -208,8 +208,8 @@ Fun TrackModel::requestClipInsertion_lambda(int clipId, int position, bool updat
qDebug() << "Error : Clip Insertion failed because timeline is not available anymore";
return false;
};
if (!finalMove && !hasMix(clipId) && !m_playlists[0].is_blank_at(target_playlist)) {
qDebug()<<"==== WARNING INVALID MOVE FOR CLIP"<<clipId;
if (!finalMove && !hasMix(clipId) && (!m_playlists[0].is_blank_at(position) || !m_playlists[1].is_blank_at(position))) {
qDebug()<<"==== WARNING INVALID MOVE";
return []() { return false; };
}
if (target_clip >= count && m_playlists[target_playlist].is_blank_at(position)) {
......
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