From 641bf5b8ca1bd87ebab0eaa1ca59e083f232fd12 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Oct 2016 22:25:22 +0200 Subject: [PATCH] main: add a way to make osc calls only sync other clients (without sending osc messages) --- app/main/callbacks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index af38a414..003d6a56 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -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'))