13
0

Update scripts for API change in 59daffea1

This commit is contained in:
Robin Gareus 2017-02-13 18:44:36 +01:00
parent 9ce55c1b3d
commit 26118af1a4
2 changed files with 2 additions and 2 deletions

View 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

View 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