send_to_bus script: fix for mixbus or other cases where master bus inputs=0
This commit is contained in:
parent
c6566f3933
commit
2b250a5639
@ -12,6 +12,7 @@ function factory () return function ()
|
||||
chn = mst:n_inputs ():n_audio ()
|
||||
end
|
||||
mst = nil -- explicitly drop reference
|
||||
if chn = 0 then chn = 2; end
|
||||
|
||||
local sel = Editor:get_selection () -- get selection
|
||||
local tracks = ARDOUR.RouteListPtr () -- create a new list
|
||||
|
Loading…
Reference in New Issue
Block a user