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:
Paul Davis 2023-02-13 16:51:00 -07:00
parent 3dd9b2c201
commit 62d4e0789a
1 changed files with 4 additions and 0 deletions

View File

@ -787,6 +787,10 @@ TempoMap::copy_points (TempoMap const & other)
_points.push_back (*tpp);
}
}
for (auto & p : _points) {
p.set_map (*this);
}
}
MeterPoint*