OSC: fix crash when trying to set output params
This commit is contained in:
parent
17e1e2641b
commit
7619edd1f6
@ -1005,6 +1005,10 @@ OSC::route_plugin_parameter (int rid, int piid, int par, float val)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!pip->parameter_is_input(par)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
ParameterDescriptor pd;
|
||||
pi->plugin()->get_parameter_descriptor (controlid,pd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user