X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=blobdiff_plain;f=libs%2Fardour%2Ftransport_fsm.cc;fp=libs%2Fardour%2Ftransport_fsm.cc;h=26de519db18db7066bd5bda25620fa2200478400;hp=8e3ef98cfac9bdbe9c66194a50f6ae95c70570cf;hb=a439d8bbe4b58abefa96ee6f518edc5c326d9b02;hpb=620ab66e75cb1b43e9a49cabf51de5b6c4c01c41 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 ();