Update lua script to current playlist API

This commit is contained in:
Daniel Appelt 2019-12-08 17:40:38 +01:00
parent 09d34abaa9
commit 79ad931f24

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, false)
playlist:add_region (region, r:position (), 1, false, 0, 0, false)
-- create a diff of the performed work, add it to the session's undo stack
-- and check if it is not empty