script: add optionnal send arg in scriptSend to prevent osc sending
This commit is contained in:
parent
3c56b95adf
commit
fbcef71774
2 changed files with 4 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class Script extends Widget {
|
|||
}
|
||||
|
||||
|
||||
static scriptSet(id, value) {
|
||||
static scriptSet(id, value, send = true) {
|
||||
|
||||
var widgets = widgetManager.getWidgetById(id)
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ class Script extends Widget {
|
|||
|
||||
return widgets[i].setValue(value, {
|
||||
sync: true,
|
||||
send: true
|
||||
send: send
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue