From 2d4770599824c5bcb0e9494c04e1dcbed931d14a Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 8 Feb 2017 09:58:15 +1100 Subject: [PATCH] 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. --- libs/ardour/tempo.cc | 5 +++++ 1 file changed, 5 insertions(+) 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&