diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-20 19:10:28 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-20 19:10:28 +0100 |
commit | 1d5be408019c5f714fd53ca3fee2907091d3845f (patch) | |
tree | ffeed75837b2d7276f97e1b51473124d170db8d1 /scripts | |
parent | 4dc74813ef1c52f9b9bdd9bf56bfdc91b11be03b (diff) |
Fix copy/edit in c509c948244
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/tomsloop.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tomsloop.lua b/scripts/tomsloop.lua index 927586604f..d397ab9e60 100644 --- a/scripts/tomsloop.lua +++ b/scripts/tomsloop.lua @@ -259,7 +259,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 (0, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI) + Session:request_locate (playhead + loop:length() * n_paste, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI) end -- all done, commit the combined Undo Operation |