Caught the "to sequence" bug. Had not fully updated code. Resolves #5

This commit is contained in:
mmcwilliams 2019-05-28 10:15:57 -04:00
parent 67a009ae8d
commit 1b3f554492
6 changed files with 7 additions and 7 deletions

View File

@ -80,12 +80,12 @@ mse.mscript.toGUI = function () {
if (typeof mse.mscript.data.light[x] !== 'undefined' && mse.mscript.data.light[x] !== '') { if (typeof mse.mscript.data.light[x] !== 'undefined' && mse.mscript.data.light[x] !== '') {
seq.setLight(x, mse.mscript.data.light[x]); seq.setLight(x, mse.mscript.data.light[x]);
} else { } else {
seq.setLight(x, light.color.join(',')); seq.setLight(x, light.color);
} }
} else { } else {
//unset light? //unset light?
} }
grid.state(i); grid.state(x);
} }
}; };
mse.mscript.toSequence = function () { mse.mscript.toSequence = function () {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.4.5", "version": "1.4.6",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-cli", "name": "mcopy-cli",
"version": "1.4.5", "version": "1.4.6",
"description": "CLI for controlling the mcopy optical printer platform", "description": "CLI for controlling the mcopy optical printer platform",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.4.5", "version": "1.4.6",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.4.5", "version": "1.4.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.4.5", "version": "1.4.6",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {