diff options
author | nick_m <mainsbridge@gmail.com> | 2017-06-09 01:34:14 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-06-09 01:34:14 +1000 |
commit | 2b320d51dd080909a0e305116f1396dd1356200b (patch) | |
tree | 9563e76640382aafeb48759c93258b06bd5f5b5e | |
parent | e9f2e32b71435b73328c494b1ac815a087ba6246 (diff) |
Fix reversed logic in legacy tempo secton detection
-rw-r--r-- | libs/ardour/tempo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c04f6803fd..e676c274f4 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -206,7 +206,7 @@ TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate) } TempoSection::Type old_type; - if (!node.get_property ("tempo-type", old_type)) { + if (node.get_property ("tempo-type", old_type)) { /* sessions with a tempo-type node contain no end-beats-per-minute. if the legacy node indicates a constant tempo, simply fill this in with the start tempo. otherwise we need the next neighbour to know what it will be. |