main: add a way to make osc calls only sync other clients (without sending osc messages)
This commit is contained in:
parent
370e1eddcd
commit
641bf5b8ca
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ module.exports = {
|
|||
|
||||
sendOsc: function(data) {
|
||||
|
||||
if (data.syncOnly) return
|
||||
|
||||
var targets = []
|
||||
|
||||
if (settings.read('syncTargets') && data.sync!==false) Array.prototype.push.apply(targets, settings.read('syncTargets'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue