Update scripts for API change in 59daffea1
authorRobin Gareus <robin@gareus.org>
Mon, 13 Feb 2017 17:44:36 +0000 (18:44 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 13 Feb 2017 17:44:59 +0000 (18:44 +0100)
scripts/bounce_replace.lua
scripts/tomsloop.lua

index e33350baf7f4af6c1043148aa0322094b2627d5b..8e6ddd621181eb80a43400e79b447373a627ab2f 100644 (file)
@@ -44,7 +44,7 @@ function factory (params) return function ()
                -- remove old region..
                playlist:remove_region (r);
                -- ..and add the newly bounced one
-               playlist:add_region (region, r:position (), 1, false, 0)
+               playlist:add_region (region, r:position (), 1, false, 0, false)
 
                -- create a diff of the performed work, add it to the session's undo stack
                -- and check if it is not empty
index 7087d3c2884d0b911e317ed62acaadbd57652438..56fec4262f4745df39ed7333ce8b5219c27ba1c8 100644 (file)
@@ -248,7 +248,7 @@ function factory (params) return function ()
 
                -- do the actual work
                local region = track:bounce_range (loop:start (), loop:_end (), itt, proc, false)
-               playlist:add_region (region, playhead, n_paste, false, 0)
+               playlist:add_region (region, playhead, n_paste, false, 0, false)
 
                n_regions_created = n_regions_created + 1