13
0

fix loop example script (updated API)

This commit is contained in:
Robin Gareus 2016-04-10 23:02:00 +02:00
parent c6d4fafcd9
commit 49656a2d7c

View File

@ -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