FP8: only use visible channelstrip plugins

This is in preparation for multiple Mixbus channelstrip
Plugins.
This commit is contained in:
Robin Gareus 2024-01-13 03:01:40 +01:00
parent 4a9b2cd014
commit 12002e1dc0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1423,6 +1423,9 @@ FaderPort8::select_plugin (int num)
std::shared_ptr<Processor> proc;
std::shared_ptr<PluginInsert> pi;
for (uint32_t i = 0; 0 != (proc = r->nth_plugin (i)); ++i) {
if (!proc->display_to_user ()) {
continue;
}
switch (std::dynamic_pointer_cast<PluginInsert> (proc)->channelstrip ()) {
case Processor::MBComp:
if (num == -2) {