custom module: receive() not passing boolean arguments properly
This commit is contained in:
parent
f2f1949053
commit
90b34d7475
2 changed files with 9 additions and 4 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.25.4
|
||||
|
||||
- bug fixes
|
||||
- custom module: `receive()` not passing boolean arguments properly
|
||||
|
||||
## 1.25.3
|
||||
|
||||
- bug fixes
|
||||
|
|
@ -8,7 +13,7 @@
|
|||
- panel: minor style issue in tab navigation bar
|
||||
- scripting: scripting functions not working inside `browseFile()` callback
|
||||
- scripting: using `external: true` in `set()` should prevent affected widget from sending any message
|
||||
- button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script
|
||||
- button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script
|
||||
|
||||
## 1.25.2
|
||||
|
||||
|
|
|
|||
|
|
@ -74,11 +74,11 @@ class OscServer {
|
|||
case 'number':
|
||||
return {type: 'f', value: arg}
|
||||
case 'boolean':
|
||||
return {type: arg ? 'T' : 'F'}
|
||||
return {type: arg ? 'T' : 'F', value: arg}
|
||||
case 'string':
|
||||
return {type: 's', value:arg}
|
||||
return {type: 's', value: arg}
|
||||
default:
|
||||
return {type: 's', value:JSON.stringify(arg)}
|
||||
return {type: 's', value: JSON.stringify(arg)}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue