mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
tweak local tempo scope infrastructure
This commit is contained in:
parent
22abddcd95
commit
1ecb28da47
2 changed files with 0 additions and 5 deletions
|
|
@ -1754,16 +1754,12 @@ EditingContext::snap_relative_time_to_relative_time (timepos_t const & origin, t
|
|||
void
|
||||
EditingContext::start_local_tempo_map (std::shared_ptr<TempoMap> map)
|
||||
{
|
||||
EC_LOCAL_TEMPO_SCOPE;
|
||||
|
||||
_local_tempo_map = map;
|
||||
}
|
||||
|
||||
void
|
||||
EditingContext::end_local_tempo_map ()
|
||||
{
|
||||
EC_LOCAL_TEMPO_SCOPE;
|
||||
|
||||
_local_tempo_map.reset ();
|
||||
Temporal::TempoMap::fetch ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -837,7 +837,6 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider,
|
|||
void ensure_local_tempo_scope () const {
|
||||
if (_local_tempo_map) {
|
||||
Temporal::TempoMap::set (_local_tempo_map);
|
||||
_local_tempo_map.reset ();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue