mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Remove Mixbus Aux-Link special case 2/2
This commit is contained in:
parent
d050256a41
commit
42cc09af13
2 changed files with 14 additions and 22 deletions
|
|
@ -798,14 +798,12 @@ ProcessorEntry::build_send_options_menu ()
|
|||
Menu* menu = manage (new Menu);
|
||||
MenuList& items = menu->items ();
|
||||
|
||||
if (!ARDOUR::Profile->get_mixbus()) {
|
||||
boost::shared_ptr<Send> send = boost::dynamic_pointer_cast<Send> (_processor);
|
||||
if (send) {
|
||||
items.push_back (CheckMenuElem (_("Link panner controls")));
|
||||
Gtk::CheckMenuItem* c = dynamic_cast<Gtk::CheckMenuItem*> (&items.back ());
|
||||
c->set_active (send->panner_shell()->is_linked_to_route());
|
||||
c->signal_toggled().connect (sigc::mem_fun (*this, &ProcessorEntry::toggle_panner_link));
|
||||
}
|
||||
boost::shared_ptr<Send> send = boost::dynamic_pointer_cast<Send> (_processor);
|
||||
if (send) {
|
||||
items.push_back (CheckMenuElem (_("Link panner controls")));
|
||||
Gtk::CheckMenuItem* c = dynamic_cast<Gtk::CheckMenuItem*> (&items.back ());
|
||||
c->set_active (send->panner_shell()->is_linked_to_route());
|
||||
c->signal_toggled().connect (sigc::mem_fun (*this, &ProcessorEntry::toggle_panner_link));
|
||||
}
|
||||
|
||||
boost::shared_ptr<InternalSend> aux = boost::dynamic_pointer_cast<InternalSend> (_processor);
|
||||
|
|
@ -4095,10 +4093,6 @@ ProcessorBox::edit_aux_send (boost::shared_ptr<Processor> processor)
|
|||
if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
|
||||
return false;
|
||||
}
|
||||
if (ARDOUR::Profile->get_mixbus()) {
|
||||
/* don't allow editing sends, ignore switch to send-edit */
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_parent_strip) {
|
||||
boost::shared_ptr<Send> send = boost::dynamic_pointer_cast<Send> (processor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue