Fix fan-out of instruments with illegal path-chars in their port-name
e.g. EZDrummer "1/2" (or generic "L/R"). While those names are perfectly fine for Ports, tracks (file) names cannot include those chars. Since fan-out looks up routes by name this failed to properly connect stereo pinouts since4a14f2fed5
,5b746b186
.
This commit is contained in:
parent
09e9d7781b
commit
8ab7c05382
@ -59,6 +59,7 @@
|
||||
#include "ardour/route_group.h"
|
||||
#include "ardour/selection.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/utils.h"
|
||||
#include "ardour/vca.h"
|
||||
#include "ardour/vca_manager.h"
|
||||
|
||||
@ -1026,7 +1027,7 @@ Mixer_UI::fan_out (std::weak_ptr<Route> wr, bool to_busses, bool group)
|
||||
return;
|
||||
}
|
||||
|
||||
#define BUSNAME pd.group_name + "(" + route->name () + ")"
|
||||
#define BUSNAME legalize_for_universal_path (pd.group_name + " (" + route->name () + ")")
|
||||
|
||||
/* count busses and channels/bus */
|
||||
std::shared_ptr<Plugin> plugin = pi->plugin ();
|
||||
|
Loading…
Reference in New Issue
Block a user