13
0

Do not include hidden plugin in plugin-list

This commit is contained in:
Robin Gareus 2024-03-05 00:56:42 +01:00
parent bf7d4f895e
commit 3a6171428a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -19,7 +19,7 @@ function factory () return function ()
local id = pi:type() .. "-" .. pp:unique_id()
local cnt = 0
local rns = {}
if pi:is_channelstrip () then goto nextproc end
if pi:is_channelstrip () or not pi:display_to_user () then goto nextproc end
if all_plugs[id] then
cnt = all_plugs[id]['cnt']
rns = all_plugs[id]['rns']