From 12002e1dc01f654da0afef486ac049590305c507 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 13 Jan 2024 03:01:40 +0100 Subject: [PATCH] FP8: only use visible channelstrip plugins This is in preparation for multiple Mixbus channelstrip Plugins. --- libs/surfaces/faderport8/faderport8.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc index 20926f87f0..957aa6c436 100644 --- a/libs/surfaces/faderport8/faderport8.cc +++ b/libs/surfaces/faderport8/faderport8.cc @@ -1423,6 +1423,9 @@ FaderPort8::select_plugin (int num) std::shared_ptr proc; std::shared_ptr pi; for (uint32_t i = 0; 0 != (proc = r->nth_plugin (i)); ++i) { + if (!proc->display_to_user ()) { + continue; + } switch (std::dynamic_pointer_cast (proc)->channelstrip ()) { case Processor::MBComp: if (num == -2) {