habbes / xaval

Interactive web-based playground for computer vision exploration and experimentation
https://xaval.habbes.xyz
5 stars 0 forks source link

Don't trigger widget update when some inputs are not set #68

Closed habbes closed 6 years ago

habbes commented 6 years ago

The widget should wait for all its inputs to be set before triggering the first update, to avoid errors that occur because some of the inputs are undefined. Right now mitigating this requires adding if blocks in the onUpdate callback to check whether inputs are set.