custom module: parsing issue when sending widget data using receive() (type attribute errouneously parsed as an osc typetag)
This commit is contained in:
parent
34197dd38a
commit
ae9fade422
2 changed files with 7 additions and 2 deletions
|
|
@ -1,9 +1,14 @@
|
|||
# Changelog
|
||||
|
||||
## 1.8.2
|
||||
|
||||
- bug fixes
|
||||
- custom module: parsing issue when sending widget data using `receive()` (`type` attribute errouneously parsed as an osc typetag)
|
||||
|
||||
## 1.8.1
|
||||
|
||||
- bug fixes
|
||||
- script: stops triggering osc messages under some circumstances
|
||||
- script: stops triggering osc messages under some circumstances
|
||||
|
||||
## 1.8.0
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class OscServer {
|
|||
case 'string':
|
||||
return {type: 's', value:arg}
|
||||
case 'object':
|
||||
if (arg.type) return arg
|
||||
if (arg.type && arg.type.length === 1) return arg
|
||||
default:
|
||||
return {type: 's', value:JSON.stringify(arg)}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue