mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
use ordered list of routes and fix some dialog box names
This commit is contained in:
parent
92b68a87d9
commit
da27661dd4
2 changed files with 6 additions and 7 deletions
|
|
@ -379,7 +379,7 @@ function factory () return function ()
|
|||
recall_options[2]['path'] = global_default_path
|
||||
local rv = LuaDialog.Dialog("Recall Mixer Settings:", recall_options):run()
|
||||
if not(rv) then return end
|
||||
local dry_return = LuaDialog.Dialog("Mixer Store:", dry_run(false, rv['file'])):run()
|
||||
local dry_return = LuaDialog.Dialog("Mixer Recall:", dry_run(false, rv['file'])):run()
|
||||
if dry_return then
|
||||
recall(false, rv['file'], dry_return)
|
||||
else
|
||||
|
|
@ -400,7 +400,7 @@ function factory () return function ()
|
|||
recall_options[2]['path'] = local_default_path
|
||||
local rv = LuaDialog.Dialog("Recall Mixer Settings:", recall_options):run()
|
||||
if not(rv) then return end
|
||||
local dry_return = LuaDialog.Dialog("Mixer Store:", dry_run(false, rv['file'])):run()
|
||||
local dry_return = LuaDialog.Dialog("Mixer Recall:", dry_run(false, rv['file'])):run()
|
||||
if dry_return then
|
||||
recall(true, rv['file'], dry_return)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ function factory () return function ()
|
|||
local groups_to_write = {}
|
||||
local i = 0
|
||||
|
||||
local tracks = Session:get_routes()
|
||||
local tracks = Session:get_stripables()
|
||||
|
||||
if selected then tracks = sel.tracks:routelist() end
|
||||
|
||||
|
|
@ -212,10 +212,9 @@ function factory () return function ()
|
|||
end
|
||||
|
||||
for r in tracks:iter() do
|
||||
if r:is_monitor () or r:is_auditioner () then goto nextroute end -- skip special routes
|
||||
|
||||
print(r:name(), r:presentation_info_ptr():order())
|
||||
|
||||
if r:is_monitor () or r:is_auditioner () or not(r:to_vca():isnil()) then goto nextroute end -- skip special routes
|
||||
r = r:to_route()
|
||||
if r:isnil() then goto nextroute end
|
||||
local order = ARDOUR.ProcessorList()
|
||||
local x = 0
|
||||
repeat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue