Auto-connect MIDI-Busses to master
This commit is contained in:
parent
1882c1ba7e
commit
4bbe6f20de
@ -2557,8 +2557,6 @@ Session::new_midi_route (RouteGroup* route_group, uint32_t how_many, string name
|
|||||||
|
|
||||||
failure:
|
failure:
|
||||||
if (!ret.empty()) {
|
if (!ret.empty()) {
|
||||||
add_routes (ret, false, false, order);
|
|
||||||
|
|
||||||
if (instrument) {
|
if (instrument) {
|
||||||
for (RouteList::iterator r = ret.begin(); r != ret.end(); ++r) {
|
for (RouteList::iterator r = ret.begin(); r != ret.end(); ++r) {
|
||||||
PluginPtr plugin = instrument->load (*this);
|
PluginPtr plugin = instrument->load (*this);
|
||||||
@ -2581,6 +2579,8 @@ Session::new_midi_route (RouteGroup* route_group, uint32_t how_many, string name
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_routes (ret, false, true, order);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user