mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Update Lua VCA example script
This commit is contained in:
parent
20c36c9979
commit
f474d0d4a9
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ function factory () return function ()
|
|||
-- if so, don't allow the connection
|
||||
if (not slv:to_slavable ():assigned_to (Session:vca_manager(), mst)) then
|
||||
-- if slv is a VCA and is controlled by master, disconnect it
|
||||
if (not slv:to_vca ():isnil () and slv:to_vca ():slaved_to (mst)) then
|
||||
if (not slv:to_vca ():isnil () and slv:to_vca ():slaved_to (mst)) or (not slv:to_route ():isnil () and slv:to_route ():slaved_to (mst)) then
|
||||
slv:to_slavable ():unassign (mst)
|
||||
else
|
||||
slv:to_slavable ():assign (mst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue