summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/split_all_markers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/split_all_markers.lua b/scripts/split_all_markers.lua
index 8c4cdb1e66..b06ac5f70b 100644
--- a/scripts/split_all_markers.lua
+++ b/scripts/split_all_markers.lua
@@ -40,7 +40,7 @@ function factory (params) return function ()
if l:is_mark() then
-- get all regions on the given track's playlist (may be stacked)
for reg in playlist:regions_at (l:start ()):iter () do
- playlist:split_region (reg, l:start (), 0)
+ playlist:split_region (reg, ARDOUR.MusicFrame (l:start(), 0))
-- the above operation will invalidate the playlist's region list:
-- split creates 2 new regions.
--