main: add a way to make osc calls only sync other clients (without sending osc messages)

This commit is contained in:
jean-emmanuel 2016-10-10 22:25:22 +02:00
parent 370e1eddcd
commit 641bf5b8ca

View file

@ -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'))