OSC: check controllable exists before using
This commit is contained in:
parent
46a2bfa0e6
commit
b343108756
@ -363,8 +363,10 @@ OSCSelectObserver::tick ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (feedback[13]) {
|
if (feedback[13]) {
|
||||||
if (_strip->comp_enable_controllable()->get_value()) {
|
if (_strip->comp_redux_controllable()) {
|
||||||
send_float ("/select/comp_redux", (float) _strip->comp_redux_controllable()->get_parameter ());
|
if (_strip->comp_redux_controllable()->get_parameter()) {
|
||||||
|
send_float ("/select/comp_redux", (float) _strip->comp_redux_controllable()->get_parameter ());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (uint32_t i = 0; i < send_timeout.size(); i++) {
|
for (uint32_t i = 0; i < send_timeout.size(); i++) {
|
||||||
if (send_timeout[i]) {
|
if (send_timeout[i]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user