diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-09 11:05:56 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-06-09 11:05:56 +1000 |
commit | b4ddbce1ff6701aec8d83a970637f3f2e1693098 (patch) | |
tree | 6ff877ee6b870de89e14ec48c100c6efe6f1e752 /gtk2_ardour/editor.cc | |
parent | 4ef4f45f3d8812bf6f9b45e06e77e844ce0ce536 (diff) |
Fix incorrect positioning of tempo line subdivisions if first meter is non-zero
Commit cebefe6 assumed that frame 0 was the music origin.
Silly me.
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 0350de1d12..6ff757c1b7 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4518,7 +4518,7 @@ Editor::set_samples_per_pixel (framecnt_t spp) samples_per_pixel = spp; if (tempo_lines) { - tempo_lines->tempo_map_changed(); + tempo_lines->tempo_map_changed(_session->tempo_map().music_origin()); } bool const showing_time_selection = selection->time.length() > 0; |