From a09111447fc190883e01a914abc0a05373953727 Mon Sep 17 00:00:00 2001 From: Nikolaus Gullotta Date: Wed, 14 Mar 2018 14:51:37 -0500 Subject: [PATCH] description changes and stop jumping instructions if proc:isnil() --- scripts/_store_recall_mixer.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/_store_recall_mixer.lua b/scripts/_store_recall_mixer.lua index fc2eeef673..651d5f2e2f 100644 --- a/scripts/_store_recall_mixer.lua +++ b/scripts/_store_recall_mixer.lua @@ -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)