I seem to be having issues with rack::app::CableWidget invocations in some VCV Rack ports.
static void patchBetweenPorts(ModuleWidget* host,ModuleWidget* neighbour, PortWidget* output, PortWidget* input) {
if (isPortPatched(input)) {
WARN("can't patch to input that is already patched");
return;
}
rack::app::CableWidget* cw = new rack::app::CableWidget;
cw->inputPort = input;
cw->outputPort = output;
cw->color = APP->scene->rack->getNextCableColor();
cw->updateCable();
if (cw->isComplete())
APP->scene->rack->addCable(cw);
}
I see that CableWidget is defined in metamodule-plugin-sdk/metamodule-rack-interface/include/app/CableWidget.hpp
- is there any reason why this symbol would be missing? It’s not redefined either by my current project
cc: @danngreen