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

Fix crash on undo mix cut

parent 1374bd44
......@@ -687,7 +687,7 @@ Fun TrackModel::requestClipResize_lambda(int clipId, int in, int out, bool right
int blank = -1;
int startPos = clip_position;
if (hasMix) {
startPos += m_allClips[clipId]->getMixCutPosition();
startPos += m_allClips[clipId]->getMixDuration();
}
int endPos = m_allClips[clipId]->getPosition() + out;
int other_blank_end = getBlankEnd(startPos, 1 - target_track);
......
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