temporal: during cut(), break out of loop once we pass the end time
This commit is contained in:
parent
848f74d803
commit
4d8ba938f1
@ -888,7 +888,11 @@ TempoMap::cut_copy (timepos_t const & start, timepos_t const & end, bool copy, b
|
||||
* time here.
|
||||
*/
|
||||
|
||||
if (p->sclock() < start_sclock || p->sclock() >= end_sclock) {
|
||||
if (p->sclock() >= end_sclock) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (p->sclock() < start_sclock) {
|
||||
++p;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user