mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
fix loop example script (updated API)
This commit is contained in:
parent
c6d4fafcd9
commit
49656a2d7c
1 changed files with 1 additions and 2 deletions
|
|
@ -55,8 +55,7 @@ function factory () return function ()
|
|||
end
|
||||
|
||||
-- check if there are any regions in the loop-range of this track
|
||||
local range = Evoral.Range (loop:start (), loop:_end ())
|
||||
if playlist:regions_touched (range):empty () then
|
||||
if playlist:regions_touched (loop:start (), loop:_end ()):empty () then
|
||||
goto continue
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue