diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-01 05:21:34 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:16 +1000 |
commit | b9158178e8fbc0574c426de9fa9a2d39ebd202df (patch) | |
tree | b657edb90e23976bb2d5e61af9f0b925da48240c | |
parent | fc7233c256e04fd74260c5f6184d270192e57d15 (diff) |
Tempo ramps - ahem.
-rw-r--r-- | libs/ardour/tempo.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 27eae35ecd..a6304f29f6 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -2454,6 +2454,12 @@ TempoMap::gui_move_meter (MeterSection* ms, const framepos_t& frame) } } + Metrics::const_iterator d = future_map.begin(); + while (d != future_map.end()) { + delete (*d); + ++d; + } + MetricPositionChanged (); // Emit Signal } @@ -2469,6 +2475,12 @@ TempoMap::gui_move_meter (MeterSection* ms, const double& pulse) } } + Metrics::const_iterator d = future_map.begin(); + while (d != future_map.end()) { + delete (*d); + ++d; + } + MetricPositionChanged (); // Emit Signal } |