diff options
author | nick_m <mainsbridge@gmail.com> | 2017-03-05 05:21:56 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-03-05 05:21:56 +1100 |
commit | 5c741b7a07d12780ba135bcd8509e7ab420cd7da (patch) | |
tree | c42f8a6f6de9133e3906bd83975492ac4674bc2e /gtk2_ardour/editor_tempodisplay.cc | |
parent | 044cfab946649c8006ed1f9f8e770e942a29b51d (diff) |
tempo editing updates
- a tempo marker may now be set to always continue (clamped)
this means that the end tempo of the previous section will
track the start tempo during tempo ops.
it mimics the behaviour in 5.8, with the gui indicating
the curves to be changed.
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 752373db6e..7f34e19398 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -316,6 +316,10 @@ Editor::redisplay_tempo (bool immediate_redraw) void Editor::tempo_curve_selected (TempoSection* ts, bool yn) { + if (ts == 0) { + return; + } + for (Curves::iterator x = tempo_curves.begin(); x != tempo_curves.end(); ++x) { if (&(*x)->tempo() == ts) { if (yn) { |