fix loop example script (updated API)
This commit is contained in:
parent
c6d4fafcd9
commit
49656a2d7c
@ -55,8 +55,7 @@ function factory () return function ()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- check if there are any regions in the loop-range of this track
|
-- 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 (loop:start (), loop:_end ()):empty () then
|
||||||
if playlist:regions_touched (range):empty () then
|
|
||||||
goto continue
|
goto continue
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user