projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d34ab
)
Update lua script to current playlist API
author
Daniel Appelt
<daniel.appelt@gmail.com>
Sun, 8 Dec 2019 16:40:38 +0000
(17:40 +0100)
committer
Daniel Appelt
<daniel.appelt@gmail.com>
Sun, 8 Dec 2019 16:40:38 +0000
(17:40 +0100)
scripts/bounce_replace.lua
patch
|
blob
|
history
diff --git
a/scripts/bounce_replace.lua
b/scripts/bounce_replace.lua
index 775ec27d2b4c1cf9434fc21ee324200f997cc8de..da657628abad6e9ca47dc753c393968c49a2e963 100644
(file)
--- 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