Merge pull request #4012 from PhysSong/autoshrink

Handle shrank automation patterns correctly
This commit is contained in:
Lukas W
2017-11-30 19:19:08 +01:00
committed by GitHub

View File

@@ -296,6 +296,9 @@ AutomatedValueMap TrackContainer::automatedValuesFromTracks(const TrackList &tra
continue;
}
MidiTime relTime = time - p->startPosition();
if (! p->getAutoResize()) {
relTime = qMin(relTime, p->length());
}
float value = p->valueAt(relTime);
for (AutomatableModel* model : p->objects())