Connect Script Manager "Edit" -> Lua Scripting Window
[ardour.git] / scripts / bounce_replace.lua
index 07518a4cf03f930fffe19c449cc08c54f00f4adb..8e6ddd621181eb80a43400e79b447373a627ab2f 100644 (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)
+               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