diff --git a/app/lib/ui/mscript.js b/app/lib/ui/mscript.js index 1af7a72..c0251c2 100644 --- a/app/lib/ui/mscript.js +++ b/app/lib/ui/mscript.js @@ -80,12 +80,12 @@ mse.mscript.toGUI = function () { if (typeof mse.mscript.data.light[x] !== 'undefined' && mse.mscript.data.light[x] !== '') { seq.setLight(x, mse.mscript.data.light[x]); } else { - seq.setLight(x, light.color.join(',')); + seq.setLight(x, light.color); } } else { //unset light? } - grid.state(i); + grid.state(x); } }; mse.mscript.toSequence = function () { diff --git a/app/package.json b/app/package.json index 4b4c436..bd9e8eb 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.4.5", + "version": "1.4.6", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/cli/package.json b/cli/package.json index 5bcf01d..db30db0 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-cli", - "version": "1.4.5", + "version": "1.4.6", "description": "CLI for controlling the mcopy optical printer platform", "main": "index.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 0884109..17f873f 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.4.5", + "version": "1.4.6", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index db930c1..b21fe8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.4.5", + "version": "1.4.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2966571..60d2a5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.4.5", + "version": "1.4.6", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": {