mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 01:26:31 +01:00
Update Lua script - API change after 59daffea1
This commit is contained in:
parent
ad87d71412
commit
dd66542e91
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ function factory (params) return function ()
|
||||||
if l:is_mark() then
|
if l:is_mark() then
|
||||||
-- get all regions on the given track's playlist (may be stacked)
|
-- get all regions on the given track's playlist (may be stacked)
|
||||||
for reg in playlist:regions_at (l:start ()):iter () do
|
for reg in playlist:regions_at (l:start ()):iter () do
|
||||||
playlist:split_region (reg, l:start (), 0)
|
playlist:split_region (reg, ARDOUR.MusicFrame (l:start(), 0))
|
||||||
-- the above operation will invalidate the playlist's region list:
|
-- the above operation will invalidate the playlist's region list:
|
||||||
-- split creates 2 new regions.
|
-- split creates 2 new regions.
|
||||||
--
|
--
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue