amend last commit (don't depend on 0.0)
authornick_m <mainsbridge@gmail.com>
Sun, 26 Feb 2017 17:12:13 +0000 (04:12 +1100)
committerRobin Gareus <robin@gareus.org>
Mon, 27 Feb 2017 19:16:10 +0000 (20:16 +0100)
libs/ardour/tempo.cc

index a45f6fb95e4a12ec5197005c7a56714cbeb45f1f..373899247927d7432917683bba5c543194c0fa03 100644 (file)
@@ -4510,7 +4510,7 @@ TempoMap::fix_legacy_end_session ()
                        }
 
                        if (prev_t) {
-                               if (prev_t->type() == TempoSection::Ramp) {
+                               if (prev_t->type() != TempoSection::Constant) {
                                        prev_t->set_end_note_types_per_minute (t->note_types_per_minute());
                                }
                        }