From 36fcedba543dfd8650a6da1215460f11af731742 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 19 May 2017 13:57:13 +0200 Subject: [PATCH] osc: fix sending object (stringify them if they don't contain type/value) --- app/main/osc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main/osc.js b/app/main/osc.js index 09f8d8b7..6c615d70 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -39,6 +39,8 @@ var parseArg = function(arg,precision){ case 'object': if (arg.type) { return {type: parseType(arg.type), value: arg.value} + } else { + return {type: 's', value:JSON.stringify(arg)} } case 'string': return {type: 's', value:arg}