Commit 8a2ed43d authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix crash on clip insert in ripple mode

parent 17d0ce55
......@@ -260,11 +260,11 @@ int TimelineModel::getItemTrackId(int itemId) const
bool TimelineModel::hasClipEndMix(int clipId) const {
if (!isClip(clipId)) return false;
int tid = getClipTrackId(clipId);
if (tid > -1) {
return getTrackById_const(tid)->hasEndMix(clipId);
return false;
if (tid < 0) return false;
return getTrackById_const(tid)->hasEndMix(clipId);
int TimelineModel::getClipPosition(int clipId) const
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