libardour: change API of Session::request_locate() to include "force" argument (script edition)

This commit is contained in:
Paul Davis 2022-05-27 18:49:35 -06:00
parent e2e6274956
commit fd879ca45d
4 changed files with 4 additions and 4 deletions

View file

@ -258,7 +258,7 @@ function factory (params) return function ()
--advance playhead so it's just after the newly added regions
if n_regions_created > 0 then
Session:request_locate (playhead + loop:length() * n_paste, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
Session:request_locate (playhead + loop:length() * n_paste, false, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
end
-- all done, commit the combined Undo Operation