Update scripts for API change in 59daffea1
This commit is contained in:
parent
9ce55c1b3d
commit
26118af1a4
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user