mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
tempo map: fix error in TempoMap::copy_points() that fails to reset _map ptr
This left the _map ptr of all points in a copy of a map pointing to an old/dead TempoMap.
This commit is contained in:
parent
3dd9b2c201
commit
62d4e0789a
1 changed files with 4 additions and 0 deletions
|
|
@ -787,6 +787,10 @@ TempoMap::copy_points (TempoMap const & other)
|
|||
_points.push_back (*tpp);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto & p : _points) {
|
||||
p.set_map (*this);
|
||||
}
|
||||
}
|
||||
|
||||
MeterPoint*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue