From 243f40e10daa133760efd57e261a08139aad8fca Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 28 Sep 2023 16:51:58 -0600 Subject: [PATCH] fix unset-looping-because-monitoring-input (#9458) --- libs/ardour/session_transport.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 681dfb7a8c..aeece88079 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1524,9 +1524,6 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished, bool will_ } } - /* reset loop_changing so it does not affect next transport action */ - loop_changing = false; - if (!will_locate && !_transport_fsm->declicking_for_locate()) { DEBUG_TRACE (DEBUG::Transport, X_("Butler PTW: locate\n")); @@ -1548,6 +1545,8 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished, bool will_ } } + /* reset loop_changing so it does not affect next transport action */ + loop_changing = false; have_looped = false; /* don't bother with this stuff if we're disconnected from the engine,