allow setting end bpm in new tempo from tempo dialog.
authornick_m <mainsbridge@gmail.com>
Mon, 6 Mar 2017 17:00:38 +0000 (04:00 +1100)
committernick_m <mainsbridge@gmail.com>
Mon, 6 Mar 2017 17:00:38 +0000 (04:00 +1100)
gtk2_ardour/editor_tempodisplay.cc

index 7f34e193985c89b4b09300405707fe4e2b4902ef..64a9f72a45ecb8f25ce2cae75997dd39b7f1ba6c 100644 (file)
@@ -533,9 +533,10 @@ Editor::edit_tempo_section (TempoSection* section)
        }
 
        double bpm = tempo_dialog.get_bpm ();
+       double end_bpm = tempo_dialog.get_end_bpm ();
        double nt = tempo_dialog.get_note_type ();
        bpm = max (0.01, bpm);
-       const Tempo tempo (bpm, nt);
+       const Tempo tempo (bpm, nt, end_bpm);
 
        Timecode::BBT_Time when;
        tempo_dialog.get_bbt_time (when);