projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ebd9cb
)
fix up mistaken (accidentally) automatic cast from framepos_t to double when calling...
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 19 Dec 2012 18:40:21 +0000
(18:40 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 19 Dec 2012 18:40:21 +0000
(18:40 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13684
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_ops.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index eac60fd3324170ac0af9d7a7e589c857757821a9..206677c4cee45c61e5340b1cdde0e5d598ad0ab2 100644
(file)
--- a/
gtk2_ardour/editor_ops.cc
+++ b/
gtk2_ardour/editor_ops.cc
@@
-5869,7
+5869,9
@@
Editor::define_one_bar (framepos_t start, framepos_t end)
} else if (t.frame() == start) {
_session->tempo_map().change_existing_tempo_at (start, beats_per_minute, t.note_type());
} else {
- _session->tempo_map().add_tempo (Tempo (beats_per_minute, t.note_type()), start);
+ Timecode::BBT_Time bbt;
+ _session->tempo_map().bbt_time (start, bbt);
+ _session->tempo_map().add_tempo (Tempo (beats_per_minute, t.note_type()), bbt);
}
XMLNode& after (_session->tempo_map().get_state());