summaryrefslogtreecommitdiff
path: root/libs/ardour/transport_fsm.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-02 16:11:10 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-02 16:32:18 -0600
commiteee8eb100573fee6cb3085ba8c192a2ffab08f83 (patch)
treefa39a6beba71637adcb63043b4ef0778e6ba6a33 /libs/ardour/transport_fsm.cc
parent5241cdcf0368a6f240ae14bc4c9e153e1a8b4c10 (diff)
allow explicit "with-roll" argument to a locate to override Session::should_roll_after_locate()
Diffstat (limited to 'libs/ardour/transport_fsm.cc')
-rw-r--r--libs/ardour/transport_fsm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc
index f80f6e7a90..00645c8905 100644
--- a/libs/ardour/transport_fsm.cc
+++ b/libs/ardour/transport_fsm.cc
@@ -400,7 +400,7 @@ TransportFSM::start_locate_while_stopped (Event const & l) const
assert (l.type == Locate);
DEBUG_TRACE (DEBUG::TFSMEvents, "start_locate_while_stopped\n");
- current_roll_after_locate_status = api->should_roll_after_locate();
+ current_roll_after_locate_status = l.with_roll ? true : api->should_roll_after_locate();
api->locate (l.target, current_roll_after_locate_status.get(), l.with_flush, l.with_loop, l.force);
}