summaryrefslogtreecommitdiff
path: root/scripts/mixer_settings_store.lua
diff options
context:
space:
mode:
authorNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-02 13:37:01 -0500
committerNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-02 13:37:01 -0500
commitda27661dd4d15e1bfc068f069262d58b07a6da18 (patch)
tree82f2c96d8970932439cb2207666527e68d1890ec /scripts/mixer_settings_store.lua
parent92b68a87d96494b6f1adfa0306c81026d1a29e18 (diff)
use ordered list of routes and fix some dialog box names
Diffstat (limited to 'scripts/mixer_settings_store.lua')
-rw-r--r--scripts/mixer_settings_store.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/mixer_settings_store.lua b/scripts/mixer_settings_store.lua
index 4c697aeb2a..0708a0a547 100644
--- a/scripts/mixer_settings_store.lua
+++ b/scripts/mixer_settings_store.lua
@@ -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