From a439d8bbe4b58abefa96ee6f518edc5c326d9b02 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 18 Jan 2020 21:14:17 -0700 Subject: fix mistaken "do not roll" conclusion in TransportFSM::compute_should_roll() --- libs/ardour/transport_fsm.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc index 8e3ef98cfa..26de519db1 100644 --- a/libs/ardour/transport_fsm.cc +++ b/libs/ardour/transport_fsm.cc @@ -418,7 +418,10 @@ TransportFSM::compute_should_roll (LocateTransportDisposition ltd) const case MustStop: return false; case RollIfAppropriate: - if (rolling()) { + /* by the time we call this, if we were rolling before the + locate, we've already transitioned into DeclickToLocate + */ + if (_motion_state == DeclickToLocate) { return true; } else { return api->should_roll_after_locate (); -- cgit v1.2.3