From 9ca094d9f69bc145b05b69d050bf0376c90495e5 Mon Sep 17 00:00:00 2001 From: Nikolaus Gullotta Date: Mon, 19 Mar 2018 13:30:19 -0500 Subject: Fixed issue in plugin id invalidator caused by commit d5d5c0c --- scripts/_store_recall_mixer.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/_store_recall_mixer.lua b/scripts/_store_recall_mixer.lua index 7591c09cdf..8664174bf1 100644 --- a/scripts/_store_recall_mixer.lua +++ b/scripts/_store_recall_mixer.lua @@ -131,7 +131,6 @@ function factory() return function() local enable = {} local params = instance["parameters"] local p_id = instance["plugin_id"] - local id = PBD.ID(p_id) local act = instance["active"] for k, v in pairs(invalidate) do --invalidate any deleted plugin's id @@ -140,7 +139,7 @@ function factory() return function() end end - local proc = Session:processor_by_id(id) + local proc = Session:processor_by_id(PBD.ID(p_id)) if proc:isnil() then goto nextline end local plug = proc:to_insert():plugin(0) @@ -172,6 +171,5 @@ function factory() return function() local c = rv["select"] if c == "mark" then mark() end if c == "recall" then recall() end - invalidate = {} end end -- cgit v1.2.3