Skip pin-management for MB channelstrip plugins
This commit is contained in:
parent
e2b724194e
commit
b302f70265
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -2021,6 +2021,11 @@ PluginPinDialog::add_processor (boost::weak_ptr<Processor> p)
|
||||
return;
|
||||
}
|
||||
boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (proc);
|
||||
#ifdef MIXBUS
|
||||
if (pi && pi->is_channelstrip ()) {
|
||||
pi.reset ();
|
||||
}
|
||||
#endif
|
||||
if (pi) {
|
||||
ppw.push_back (PluginPinWidgetPtr(new PluginPinWidget (pi)));
|
||||
vbox->pack_start (*ppw.back());
|
||||
|
Loading…
Reference in New Issue
Block a user