Skip pin-management for MB channelstrip plugins
[ardour.git] / gtk2_ardour / mixer_strip.cc
index 935542e74ef7e4f4081ac36d81d830bdcf0b9da8..c26b18942a26146c5b69399723d3b3d87bf73b79 100644 (file)
@@ -1639,7 +1639,13 @@ MixerStrip::help_count_plugins (boost::weak_ptr<Processor> p)
        if (!processor || !processor->display_to_user()) {
                return;
        }
-       if (boost::dynamic_pointer_cast<PluginInsert> (processor)) {
+       boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (processor);
+#ifdef MIXBUS
+       if (pi && pi->is_channelstrip ()) {
+               return;
+       }
+#endif
+       if (pi) {
                ++_plugin_insert_cnt;
        }
 }