summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-02-08 09:58:15 +1100
committernick_m <mainsbridge@gmail.com>2017-02-08 09:58:15 +1100
commit2d4770599824c5bcb0e9494c04e1dcbed931d14a (patch)
tree3cfca4ff059bef0941d99de9f58ccba0aded9072
parentd806c973d603291d88ea8537143b361b054c7151 (diff)
5.5 incorrectly marked the initial tempo as not locked to meter.
- the initial tempo must always be locked to meter, so i think it is safe to explicitly set it anyway.
-rw-r--r--libs/ardour/tempo.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index e74dc66020..0c4e743af0 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -185,6 +185,11 @@ TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate)
} else {
set_locked_to_meter (string_is_affirmative (prop->value()));
}
+
+ /* 5.5 marked initial tempo as not locked to meter. this should always be true anyway */
+ if (initial()) {
+ set_locked_to_meter (true);
+ }
}
XMLNode&