Make MIDI busses possible targets of internal sends
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Sat, 9 Jul 2016 00:17:00 +0000 (02:17 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Sat, 9 Jul 2016 00:17:00 +0000 (02:17 +0200)
The session only added an internal return to new audio busses, and so
only those were proposed in the "New Aux Send" list. Also add the return
to new midi busses, now that internal sends know how to deal with midi.

libs/ardour/session.cc

index 767971fe722414d1aa2ae8b339e23e52570ef127..bf8291e4b0a24b9c256cd77ed0cc5c0d2cdd96d0 100644 (file)
@@ -2580,6 +2580,7 @@ Session::new_midi_route (RouteGroup* route_group, uint32_t how_many, string name
                                route_group->add (bus);
                        }
 
+                       bus->add_internal_return ();
                        ret.push_back (bus);
                }