mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
description changes and stop jumping instructions if proc:isnil()
This commit is contained in:
parent
d52967aa62
commit
a09111447f
1 changed files with 3 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
ardour {
|
||||
["type"] = "EditorAction",
|
||||
name = "Mixer Store",
|
||||
author = "Mixbus Lua Taskforce",
|
||||
description = [[]]
|
||||
author = "Ardour Lua Taskforce",
|
||||
description = [[Stores the current Mixer state as a file that can be recalled arbitrarily. Supports: processor settings, gain, trim, pan and processor ordering.]]
|
||||
}
|
||||
|
||||
function factory() return function()
|
||||
|
|
@ -94,8 +94,7 @@ function factory() return function()
|
|||
local old_order = ARDOUR.ProcessorList()
|
||||
for k, v in pairs(instance["order"]) do
|
||||
local proc = Session:processor_by_id(PBD.ID(v))
|
||||
if proc:isnil() then goto nextline end
|
||||
old_order:push_back(proc)
|
||||
if not(proc:isnil()) then old_order:push_back(proc) end
|
||||
end
|
||||
local rid = PBD.ID(instance["route_id"])
|
||||
local rt = Session:route_by_id(rid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue