projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260db3e
)
Tempo ramps - add legacy session comment.
author
nick_m
<mainsbridge@gmail.com>
Mon, 4 Apr 2016 14:41:57 +0000
(
00:41
+1000)
committer
nick_m
<mainsbridge@gmail.com>
Fri, 27 May 2016 13:38:14 +0000
(23:38 +1000)
libs/ardour/tempo.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/tempo.cc
b/libs/ardour/tempo.cc
index 5afca564dc8ff59e5be4273a846a31ba07cc65d2..d198963ec0cc327ed28e3df656905fdb90b18ce4 100644
(file)
--- a/
libs/ardour/tempo.cc
+++ b/
libs/ardour/tempo.cc
@@
-2849,7
+2849,7
@@
TempoMap::set_state (const XMLNode& node, int /*version*/)
TempoSection* t;
MeterSection* prev_m = 0;
TempoSection* prev_t = 0;
-
+ /* if one is < 0.0, they all are. this is a legacy session */
if ((m = dynamic_cast<MeterSection*>(*i)) != 0 && m->pulse() < 0.0) {
if (!m->movable()) {
pair<double, BBT_Time> bbt = make_pair (0.0, BBT_Time (1, 1, 0));