diff options
author | nick_m <mainsbridge@gmail.com> | 2017-02-08 09:58:15 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-02-08 09:58:15 +1100 |
commit | 2d4770599824c5bcb0e9494c04e1dcbed931d14a (patch) | |
tree | 3cfca4ff059bef0941d99de9f58ccba0aded9072 /libs/ardour/tempo.cc | |
parent | d806c973d603291d88ea8537143b361b054c7151 (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.
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 5 |
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& |