projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d4faf
)
fix loop example script (updated API)
author
Robin Gareus
<robin@gareus.org>
Sun, 10 Apr 2016 21:02:00 +0000
(23:02 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 10 Apr 2016 21:02:00 +0000
(23:02 +0200)
scripts/s_tomsloop.lua
patch
|
blob
|
history
diff --git
a/scripts/s_tomsloop.lua
b/scripts/s_tomsloop.lua
index 77a7b681168931541bbdcfca2a766b4e60e32ab3..d4b2fc049c61ec57c97aae83d64680ffe723d31f 100644
(file)
--- 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