From 79ad931f24d1c344f7b6e6ae3c8a6f9304247656 Mon Sep 17 00:00:00 2001 From: Daniel Appelt Date: Sun, 8 Dec 2019 17:40:38 +0100 Subject: [PATCH] Update lua script to current playlist API --- scripts/bounce_replace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bounce_replace.lua b/scripts/bounce_replace.lua index 775ec27d2b..da657628ab 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, 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