Exclude MB EQ/Comp from visible processors de/activate.
authorRobin Gareus <robin@gareus.org>
Thu, 13 Apr 2017 22:52:43 +0000 (00:52 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 13 Apr 2017 22:52:43 +0000 (00:52 +0200)
libs/ardour/route.cc

index 3f6d9e2629dedc93cb88eb0fd8bbd2aaa0509336..72131ebea002eb8c9411df24b8aee12abd326ab3 100644 (file)
@@ -1878,6 +1878,14 @@ Route::all_visible_processors_active (bool state)
                if (!(*i)->display_to_user() || boost::dynamic_pointer_cast<Amp> (*i)) {
                        continue;
                }
+#ifdef MIXBUS
+               boost::shared_ptr<PluginInsert> pi;
+               if (0 != (pi = boost::dynamic_pointer_cast<PluginInsert>(*i))) {
+                       if (pi->is_channelstrip ()) {
+                               continue;
+                       }
+               }
+#endif
                (*i)->enable (state);
        }