From 96b511e221d10ab1ef1439cc5a24d0d22c628520 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 4 Mar 2016 02:58:13 +1100 Subject: [PATCH] Tempo ramps - fix ordering glitches when dragging tempos. --- libs/ardour/tempo.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 010b474a2d..9601b064af 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1032,6 +1032,10 @@ TempoMap::imagine_new_order (TempoSection* section, const Tempo& bpm, const fram prev_ts = t; } } + + MetricSectionSorter cmp; + imaginary.sort (cmp); + /* to do - check precision using _at_tempo() methods */ /* prev_ts = 0;