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
@ -787,6 +787,10 @@ TempoMap::copy_points (TempoMap const & other)
|
||||
_points.push_back (*tpp);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto & p : _points) {
|
||||
p.set_map (*this);
|
||||
}
|
||||
}
|
||||
|
||||
MeterPoint*
|
||||
|
Loading…
Reference in New Issue
Block a user