commit c308840ece9c043c7bd0642e53ab2056c93de572
parent c5fd645de56f8772b7158394ae55c86dd5325a34
Author: Christopher A. Oliver <caowasteland@gmail.com>
Date: Tue, 23 Feb 2016 13:28:56 -0500
Fix broken instrument effects send.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp
@@ -84,7 +84,7 @@ static const Ports partPorts = {
rString(info.Pauthor, MAX_INFO_TEXT_SIZE, "Instrument author"),
rString(info.Pcomments, MAX_INFO_TEXT_SIZE, "Instrument comments"),
rString(Pname, PART_MAX_NAME_LEN, "User specified label"),
- rArray(Pefxroute, NUM_PART_EFX, "Effect Routing"),
+ rArrayI(Pefxroute, NUM_PART_EFX, "Effect Routing"),
rArrayT(Pefxbypass, NUM_PART_EFX, "If an effect is bypassed"),
{"captureMin:", rDoc("Capture minimum valid note"), NULL,
[](const char *, RtData &r)
diff --git a/src/UI/PartUI.fl b/src/UI/PartUI.fl
@@ -643,6 +643,7 @@ else {propta->deactivate();proptb->deactivate();}}
insefftype->oscMove("partefx"+to_s(ninseff)+"/efftype");
inseffectuigroup->reext("partefx"+to_s(ninseff)+"/");
bypasseff->oscMove("Pefxbypass"+to_s(ninseff));
+ sendtochoice->oscMove("Pefxroute"+to_s(ninseff));
/*insefftype->value(part->partefx[ninseff]->geteffect());*/
//insefftype->do_callback();
inseffectui->refresh();