diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/sources/scripts/core/io/osc.js | 1 | ||||
-rw-r--r-- | desktop/sources/scripts/core/library.js | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/desktop/sources/scripts/core/io/osc.js b/desktop/sources/scripts/core/io/osc.js index 2a605e8..635e2ea 100644 --- a/desktop/sources/scripts/core/io/osc.js +++ b/desktop/sources/scripts/core/io/osc.js @@ -31,7 +31,6 @@ function Osc (client) { this.play = function ({ path, msg }) { if (!this.socket) { console.warn('OSC', 'Unavailable socket'); return } - if (!msg) { console.warn('OSC', 'Empty message'); return } const oscMsg = new osc.Message(path) for (var i = 0; i < msg.length; i++) { oscMsg.append(client.orca.valueOf(msg.charAt(i))) diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js index c43a226..361fc82 100644 --- a/desktop/sources/scripts/core/library.js +++ b/desktop/sources/scripts/core/library.js @@ -674,7 +674,6 @@ library['='] = function OperatorOsc (orca, x, y, passive) { } if (!this.hasNeighbor('*') && force === false) { return } - if (msg === '') { return } const path = this.listen(this.ports.path) |