Tempo ramps - fix meter drag finished bug.
authornick_m <mainsbridge@gmail.com>
Mon, 28 Mar 2016 18:57:51 +0000 (05:57 +1100)
committernick_m <mainsbridge@gmail.com>
Fri, 27 May 2016 13:38:13 +0000 (23:38 +1000)
libs/ardour/tempo.cc

index 13b98c613bcac7ae43c740c0d3bcbcf55f85877e..2f979535e8cf0cdc5d2b3b88c2a6cc88fb9301dc 100644 (file)
@@ -965,7 +965,7 @@ TempoMap::replace_meter (const MeterSection& ms, const Meter& meter, const BBT_T
                const PositionLockStyle pl = ms.position_lock_style();
                if (ms.pulse() != first.pulse()) {
                        remove_meter_locked (ms);
-                       add_meter_locked (meter, pulse_at_beat_locked (_metrics, bbt_to_beats_locked (_metrics, where)), where, true);
+                       add_meter_locked (meter, bbt_to_beats_locked (_metrics, where), where, true);
                } else {
                        /* cannot move the first meter section */
                        *static_cast<Meter*>(&first) = meter;