From 2b250a5639c41d80a2fe6e30141da597020d8b73 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 1 Jul 2022 09:01:43 -0500 Subject: [PATCH] send_to_bus script: fix for mixbus or other cases where master bus inputs=0 --- share/scripts/send_to_bus.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/share/scripts/send_to_bus.lua b/share/scripts/send_to_bus.lua index 95a13f95ca..c03c9f9ead 100644 --- a/share/scripts/send_to_bus.lua +++ b/share/scripts/send_to_bus.lua @@ -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