OSC: check controllable exists before using
This commit is contained in:
parent
46a2bfa0e6
commit
b343108756
@ -363,9 +363,11 @@ OSCSelectObserver::tick ()
|
||||
}
|
||||
}
|
||||
if (feedback[13]) {
|
||||
if (_strip->comp_enable_controllable()->get_value()) {
|
||||
if (_strip->comp_redux_controllable()) {
|
||||
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++) {
|
||||
if (send_timeout[i]) {
|
||||
if (send_timeout[i] == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user