scripting: using external: true in set() should prevent affected widget from sending any message
This commit is contained in:
parent
cb009e64e0
commit
c766370db7
3 changed files with 7 additions and 3 deletions
|
|
@ -7,7 +7,8 @@
|
|||
- panel: tab rendering issue when initialized with a non-numeric value
|
||||
- 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
|
||||
|
||||
## 1.25.2
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ Returns the value of the first matching widget. If the returned value is an obje
|
|||
- `sync: false`: prevents widgets from triggering synchronization and scripts
|
||||
- `script: false`: prevents scripts but not synchronization
|
||||
- `send: false`: prevents widgets from sending osc messages
|
||||
- `external: true`: simulates a value coming from an osc/midi message
|
||||
- `external: true`: simulates a value coming from an osc/midi message (implies `sync: false` automatically)
|
||||
|
||||
Sets the value of the first matching widget. If `ìd` contains wildcards, affects all matching widgets **except** the emitting widget.
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,10 @@ class ScriptVm extends Vm {
|
|||
if (extraOptions.send === false) options.send = false
|
||||
if (extraOptions.sync === false) options.sync = false
|
||||
if (extraOptions.script === false) options.script = false
|
||||
if (extraOptions.external === true) options.fromExternal = true
|
||||
if (extraOptions.external === true) {
|
||||
options.fromExternal = true
|
||||
options.send = false
|
||||
}
|
||||
|
||||
var widgets
|
||||
if (id.includes('*')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue