Skip to content

Commit

Permalink
fix(babble): fix args check
Browse files Browse the repository at this point in the history
Seems like this was broken during a refactor

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
  • Loading branch information
Scrumplex authored and galister committed Sep 5, 2024
1 parent 158e64c commit f14e2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ext_tracking/babble.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn receive_babble_osc(
loop {
if let Ok((size, _addr)) = listener.recv_from(&mut buf) {
if let Ok((_, OscPacket::Message(packet))) = rosc::decoder::decode_udp(&buf[..size]) {
if !packet.args.is_empty() {
if packet.args.is_empty() {
log::warn!("Babble/ETVR OSC Message has no args?");
} else if let OscType::Float(x) = packet.args[0] {
if let Some(exp) = ADDR_TO_UNIFIED.get(packet.addr.as_str()).cloned() {
Expand Down

0 comments on commit f14e2f1

Please sign in to comment.