From: Robin Gareus Date: Sun, 18 Sep 2016 07:55:59 +0000 (+0200) Subject: update script to follow libardour API change X-Git-Tag: 5.4~251 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2e8621fdbfd65d2837674d5c90aee17068717959;p=ardour.git update script to follow libardour API change --- diff --git a/scripts/bounce_replace.lua b/scripts/bounce_replace.lua index 07518a4cf0..e33350baf7 100644 --- a/scripts/bounce_replace.lua +++ b/scripts/bounce_replace.lua @@ -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) + playlist:add_region (region, r:position (), 1, false, 0) -- create a diff of the performed work, add it to the session's undo stack -- and check if it is not empty