mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
merge 12436:12607 from svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/3.0
git-svn-id: svn://localhost/ardour2/branches/3.0-SG@12608 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6ef90ffe5c
commit
f228d2c68e
86 changed files with 6512 additions and 4626 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#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"
|
||||
|
|
@ -858,7 +859,10 @@ ProcessorBox::build_possible_aux_menu ()
|
|||
{
|
||||
boost::shared_ptr<RouteList> rl = _session->get_routes_with_internal_returns();
|
||||
|
||||
if (rl->empty()) {
|
||||
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 ...)
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue