mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
temporal: fix crash during reset_starting_at()
This commit is contained in:
parent
857856431e
commit
bf2618e97b
1 changed files with 2 additions and 1 deletions
|
|
@ -1162,14 +1162,15 @@ TempoMap::reset_starting_at (superclock_t sc)
|
|||
|
||||
Points::iterator pp = p;
|
||||
nxt_tempo = 0;
|
||||
++pp;
|
||||
|
||||
while (pp != _points.end()) {
|
||||
++pp;
|
||||
TempoPoint* nt = dynamic_cast<TempoPoint*> (&*pp);
|
||||
if (nt) {
|
||||
nxt_tempo = nt;
|
||||
break;
|
||||
}
|
||||
++pp;
|
||||
}
|
||||
|
||||
if (tp->ramped() && nxt_tempo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue