From b9158178e8fbc0574c426de9fa9a2d39ebd202df Mon Sep 17 00:00:00 2001 From: nick_m Date: Sun, 1 May 2016 05:21:34 +1000 Subject: [PATCH] Tempo ramps - ahem. --- libs/ardour/tempo.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 }