Leave processor box sensitive when editing aux-sends
This is required to toggle the strip to revert from aux-view to the main route using the aux-send processor itself. Discuss: Perhaps this should be reverted, and ProcessorBox::edit_aux_send() be removed: It is currently possible to create various inconsistent mixer-states. * use "Aux" on a Bus, then double-click some Internal-Send to revert strips. But Aux remains active * Removing sends while "Aux" is active does not disable Aux. If the processor box was insensitive those issues won't be present. However it is convenient to use double-click on the editor-mixer to access a send's panner ...
This commit is contained in:
parent
d7fed7c52e
commit
f29e5ea7ab
|
@ -1966,7 +1966,6 @@ MixerStrip::map_frozen ()
|
|||
boost::shared_ptr<AudioTrack> at = audio_track();
|
||||
|
||||
bool en = _route->active () || ARDOUR::Profile->get_mixbus();
|
||||
bool send = _current_delivery && boost::dynamic_pointer_cast<Send>(_current_delivery) != 0;
|
||||
|
||||
if (at) {
|
||||
switch (at->freeze_state()) {
|
||||
|
@ -1975,11 +1974,11 @@ MixerStrip::map_frozen ()
|
|||
hide_redirect_editors ();
|
||||
break;
|
||||
default:
|
||||
processor_box.set_sensitive (en && !send);
|
||||
processor_box.set_sensitive (en);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
processor_box.set_sensitive (en && !send);
|
||||
processor_box.set_sensitive (en);
|
||||
}
|
||||
RouteUI::map_frozen ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue