diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-08 14:29:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-08 14:29:14 +0000 |
commit | aba03a3aa6faaf95645996a26c188d3d731ffe42 (patch) | |
tree | 969d4c78eb4632f0ba7f233cbffd363204d24f05 | |
parent | ad4713a2163037bad70adc7522932a1e90d7aef4 (diff) |
Remove erroneous refusal to create aux sends on MIDI tracks, which may have audio streams that can be sent to busses.
git-svn-id: svn://localhost/ardour2/branches/3.0@12609 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/processor_box.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index b161a18663..fee6f6d503 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -44,7 +44,6 @@ #include "ardour/audioengine.h" #include "ardour/internal_return.h" #include "ardour/internal_send.h" -#include "ardour/midi_track.h" #include "ardour/plugin_insert.h" #include "ardour/port_insert.h" #include "ardour/profile.h" @@ -859,10 +858,8 @@ ProcessorBox::build_possible_aux_menu () { boost::shared_ptr<RouteList> rl = _session->get_routes_with_internal_returns(); - if (rl->empty() || boost::dynamic_pointer_cast<MidiTrack> (_route)) { - /* No aux sends if there are no busses, or if this route is a MIDI track - (one day, but not now ...) - */ + if (rl->empty()) { + /* No aux sends if there are no busses */ return 0; } |