fix OSC parameter mapping, fixes #6224
(ignore non control ports in numbering)
This commit is contained in:
parent
2c89ec5c0b
commit
7c146a9e22
@ -1008,7 +1008,7 @@ OSC::route_plugin_parameter (int rid, int piid, int par, float val)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!pip->parameter_is_input(par)) {
|
||||
if (!pip->parameter_is_input(controlid)) {
|
||||
PBD::error << "OSC: Parameter # " << par << " for plugin # " << piid << " on RID '" << rid << "' is not a control input" << endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user