diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-10 23:02:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-10 23:02:00 +0200 |
commit | 49656a2d7cf1290de5000969998685c647dd8bcc (patch) | |
tree | 021589e955f7b5f970c0420f575be2778c04518f | |
parent | c6d4fafcd95504da2b94f54f05561036e7806699 (diff) |
fix loop example script (updated API)
-rw-r--r-- | scripts/s_tomsloop.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/s_tomsloop.lua b/scripts/s_tomsloop.lua index 77a7b68116..d4b2fc049c 100644 --- a/scripts/s_tomsloop.lua +++ b/scripts/s_tomsloop.lua @@ -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 |