diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-09-21 15:06:08 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-09-21 15:06:08 +0000 |
| commit | df1ff32399c0cc237b82b1207e67180a80e3a795 (patch) | |
| tree | cebc5df585f5db3096b1e39b70042e355c7585e0 | |
| parent | lib/love: floor text coordinates (diff) | |
| download | alive-df1ff32399c0cc237b82b1207e67180a80e3a795.tar.gz alive-df1ff32399c0cc237b82b1207e67180a80e3a795.zip | |
lib/osc: fix error when not keeping up with input events
| -rw-r--r-- | alv-lib/osc.moon | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alv-lib/osc.moon b/alv-lib/osc.moon index 7de3452..82be97e 100644 --- a/alv-lib/osc.moon +++ b/alv-lib/osc.moon @@ -48,6 +48,8 @@ listen = Constant.meta @setup_out '!', T['osc/in'] poll: => + if @inputs.io.result\dirty! return + messages = while true data = @state\receive! break unless data @@ -120,6 +122,8 @@ recv_evt = Constant.meta continue if msg.address != path continue if msg.types != types + continue if @out\dirty! + if @state @out\set [v for v in *msg] else |
